rename test files

This commit is contained in:
Nolan Lawson 2018-03-06 21:32:51 -08:00
parent 49ac2f21eb
commit 15b51bb3eb
19 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,7 @@
import { Selector as $ } from 'testcafe' import { Selector as $ } from 'testcafe'
import { getUrl, settingsButton } from '../utils' import { getUrl, settingsButton } from '../utils'
fixture`01-basic-spec.js` fixture`001-basic-spec.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('has the correct <h1>', async t => { test('has the correct <h1>', async t => {

View file

@ -4,7 +4,7 @@ import {
settingsButton settingsButton
} from '../utils' } from '../utils'
fixture`02-login-spec.js` fixture`002-login-spec.js`
.page`http://localhost:4002` .page`http://localhost:4002`
function manualLogin (t, username, password) { function manualLogin (t, username, password) {

View file

@ -3,7 +3,7 @@ import { getFirstVisibleStatus, getNthStatus, getUrl, validateTimeline } from '.
import { homeTimeline, notifications, localTimeline, favorites } from '../fixtures' import { homeTimeline, notifications, localTimeline, favorites } from '../fixtures'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`03-basic-timeline-spec.js` fixture`003-basic-timeline-spec.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('Shows the home timeline', async t => { test('Shows the home timeline', async t => {

View file

@ -2,7 +2,7 @@ import { Selector as $ } from 'testcafe'
import { getUrl } from '../utils' import { getUrl } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`04-pinned-statuses.js` fixture`004-pinned-statuses.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test("shows a user's pinned statuses", async t => { test("shows a user's pinned statuses", async t => {

View file

@ -1,7 +1,7 @@
import { getNthStatus } from '../utils' import { getNthStatus } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`05-status-types.js` fixture`005-status-types.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('shows direct vs followers-only vs regular', async t => { test('shows direct vs followers-only vs regular', async t => {

View file

@ -2,7 +2,7 @@ import { Selector as $ } from 'testcafe'
import { getNthStatus } from '../utils' import { getNthStatus } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`06-tabindex.js` fixture`006-tabindex.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('shows correct tabindex in home timeline', async t => { test('shows correct tabindex in home timeline', async t => {

View file

@ -3,7 +3,7 @@ import { getUrl, validateTimeline } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
import { quuxStatuses } from '../fixtures' import { quuxStatuses } from '../fixtures'
fixture`07-account-profile.js` fixture`007-account-profile.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('shows account profile', async t => { test('shows account profile', async t => {

View file

@ -1,7 +1,7 @@
import { closeDialogButton, getNthStatus, modalDialogContents, scrollToStatus } from '../utils' import { closeDialogButton, getNthStatus, modalDialogContents, scrollToStatus } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`08-status-media.js` fixture`008-status-media.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('shows sensitive images and videos', async t => { test('shows sensitive images and videos', async t => {

View file

@ -3,7 +3,7 @@ import { getNthStatus, getUrl, validateTimeline, scrollToBottomOfTimeline } from
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
import { quuxThread } from '../fixtures' import { quuxThread } from '../fixtures'
fixture`09-threads.js` fixture`009-threads.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('Shows a thread', async t => { test('Shows a thread', async t => {

View file

@ -3,7 +3,7 @@ import {
} from '../utils' } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`10-focus.js` fixture`010-focus.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('modal preserves focus', async t => { test('modal preserves focus', async t => {

View file

@ -2,7 +2,7 @@ import { Selector as $ } from 'testcafe'
import { getFavoritesCount, getNthStatus, getReblogsCount, getUrl } from '../utils' import { getFavoritesCount, getNthStatus, getReblogsCount, getUrl } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`11-reblog-favorites-count.js` fixture`011-reblog-favorites-count.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('shows favorites', async t => { test('shows favorites', async t => {

View file

@ -7,7 +7,7 @@ import {
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
import times from 'lodash/times' import times from 'lodash/times'
fixture`12-compose.js` fixture`012-compose.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('shows compose limits', async t => { test('shows compose limits', async t => {

View file

@ -1,7 +1,7 @@
import { composeInput, getNthDeleteMediaButton, getNthMedia, mediaButton, uploadKittenImage } from '../utils' import { composeInput, getNthDeleteMediaButton, getNthMedia, mediaButton, uploadKittenImage } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`13-compose-media.js` fixture`013-compose-media.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('inserts media', async t => { test('inserts media', async t => {

View file

@ -1,7 +1,7 @@
import { postPrivacyButton } from '../utils' import { postPrivacyButton } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`14-compose-post-privacy.js` fixture`014-compose-post-privacy.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('Changes post privacy', async t => { test('Changes post privacy', async t => {

View file

@ -4,7 +4,7 @@ import {
} from '../utils' } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`15-compose-content-warnings.js` fixture`015-compose-content-warnings.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('Changes content warnings', async t => { test('Changes content warnings', async t => {

View file

@ -2,7 +2,7 @@ import { getNthStatus, getUrl } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
import { Selector as $ } from 'testcafe' import { Selector as $ } from 'testcafe'
fixture`16-external-links.js` fixture`016-external-links.js`
.page`http://localhost:4002` .page`http://localhost:4002`
function getAnchor (nthStatus, nthAnchor) { function getAnchor (nthStatus, nthAnchor) {

View file

@ -5,7 +5,7 @@ import {
} from '../utils' } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`30-favorite-unfavorite.js` fixture`130-favorite-unfavorite.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('favorites a status', async t => { test('favorites a status', async t => {

View file

@ -5,7 +5,7 @@ import {
} from '../utils' } from '../utils'
import { foobarRole } from '../roles' import { foobarRole } from '../roles'
fixture`31-reblog-unreblog.js` fixture`101-reblog-unreblog.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('reblogs a status', async t => { test('reblogs a status', async t => {

View file

@ -3,7 +3,7 @@ import { getNthStatus, getUrl, homeNavButton, notificationsNavButton, validateTi
import { favoriteStatusAsAdmin } from '../serverActions' import { favoriteStatusAsAdmin } from '../serverActions'
import { notifications } from '../fixtures' import { notifications } from '../fixtures'
fixture`32-notifications.js` fixture`102-notifications.js`
.page`http://localhost:4002` .page`http://localhost:4002`
test('shows unread notifications', async t => { test('shows unread notifications', async t => {