rename test files
This commit is contained in:
		
							parent
							
								
									49ac2f21eb
								
							
						
					
					
						commit
						15b51bb3eb
					
				
					 19 changed files with 19 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
import { Selector as $ } from 'testcafe'
 | 
			
		||||
import { getUrl, settingsButton } from '../utils'
 | 
			
		||||
 | 
			
		||||
fixture`01-basic-spec.js`
 | 
			
		||||
fixture`001-basic-spec.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('has the correct <h1>', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -4,7 +4,7 @@ import {
 | 
			
		|||
  settingsButton
 | 
			
		||||
} from '../utils'
 | 
			
		||||
 | 
			
		||||
fixture`02-login-spec.js`
 | 
			
		||||
fixture`002-login-spec.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
function manualLogin (t, username, password) {
 | 
			
		||||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ import { getFirstVisibleStatus, getNthStatus, getUrl, validateTimeline } from '.
 | 
			
		|||
import { homeTimeline, notifications, localTimeline, favorites } from '../fixtures'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`03-basic-timeline-spec.js`
 | 
			
		||||
fixture`003-basic-timeline-spec.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('Shows the home timeline', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -2,7 +2,7 @@ import { Selector as $ } from 'testcafe'
 | 
			
		|||
import { getUrl } from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`04-pinned-statuses.js`
 | 
			
		||||
fixture`004-pinned-statuses.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test("shows a user's pinned statuses", async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
import { getNthStatus } from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`05-status-types.js`
 | 
			
		||||
fixture`005-status-types.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('shows direct vs followers-only vs regular', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -2,7 +2,7 @@ import { Selector as $ } from 'testcafe'
 | 
			
		|||
import { getNthStatus } from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`06-tabindex.js`
 | 
			
		||||
fixture`006-tabindex.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('shows correct tabindex in home timeline', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ import { getUrl, validateTimeline } from '../utils'
 | 
			
		|||
import { foobarRole } from '../roles'
 | 
			
		||||
import { quuxStatuses } from '../fixtures'
 | 
			
		||||
 | 
			
		||||
fixture`07-account-profile.js`
 | 
			
		||||
fixture`007-account-profile.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('shows account profile', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
import { closeDialogButton, getNthStatus, modalDialogContents, scrollToStatus } from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`08-status-media.js`
 | 
			
		||||
fixture`008-status-media.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('shows sensitive images and videos', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ import { getNthStatus, getUrl, validateTimeline, scrollToBottomOfTimeline } from
 | 
			
		|||
import { foobarRole } from '../roles'
 | 
			
		||||
import { quuxThread } from '../fixtures'
 | 
			
		||||
 | 
			
		||||
fixture`09-threads.js`
 | 
			
		||||
fixture`009-threads.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('Shows a thread', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ import {
 | 
			
		|||
} from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`10-focus.js`
 | 
			
		||||
fixture`010-focus.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('modal preserves focus', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -2,7 +2,7 @@ import { Selector as $ } from 'testcafe'
 | 
			
		|||
import { getFavoritesCount, getNthStatus, getReblogsCount, getUrl } from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`11-reblog-favorites-count.js`
 | 
			
		||||
fixture`011-reblog-favorites-count.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('shows favorites', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -7,7 +7,7 @@ import {
 | 
			
		|||
import { foobarRole } from '../roles'
 | 
			
		||||
import times from 'lodash/times'
 | 
			
		||||
 | 
			
		||||
fixture`12-compose.js`
 | 
			
		||||
fixture`012-compose.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('shows compose limits', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
import { composeInput, getNthDeleteMediaButton, getNthMedia, mediaButton, uploadKittenImage } from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`13-compose-media.js`
 | 
			
		||||
fixture`013-compose-media.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('inserts media', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
import { postPrivacyButton } from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`14-compose-post-privacy.js`
 | 
			
		||||
fixture`014-compose-post-privacy.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('Changes post privacy', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -4,7 +4,7 @@ import {
 | 
			
		|||
} from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`15-compose-content-warnings.js`
 | 
			
		||||
fixture`015-compose-content-warnings.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('Changes content warnings', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -2,7 +2,7 @@ import { getNthStatus, getUrl } from '../utils'
 | 
			
		|||
import { foobarRole } from '../roles'
 | 
			
		||||
import { Selector as $ } from 'testcafe'
 | 
			
		||||
 | 
			
		||||
fixture`16-external-links.js`
 | 
			
		||||
fixture`016-external-links.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
function getAnchor (nthStatus, nthAnchor) {
 | 
			
		||||
| 
						 | 
				
			
			@ -5,7 +5,7 @@ import {
 | 
			
		|||
} from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`30-favorite-unfavorite.js`
 | 
			
		||||
fixture`130-favorite-unfavorite.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('favorites a status', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -5,7 +5,7 @@ import {
 | 
			
		|||
} from '../utils'
 | 
			
		||||
import { foobarRole } from '../roles'
 | 
			
		||||
 | 
			
		||||
fixture`31-reblog-unreblog.js`
 | 
			
		||||
fixture`101-reblog-unreblog.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('reblogs a status', async t => {
 | 
			
		||||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ import { getNthStatus, getUrl, homeNavButton, notificationsNavButton, validateTi
 | 
			
		|||
import { favoriteStatusAsAdmin } from '../serverActions'
 | 
			
		||||
import { notifications } from '../fixtures'
 | 
			
		||||
 | 
			
		||||
fixture`32-notifications.js`
 | 
			
		||||
fixture`102-notifications.js`
 | 
			
		||||
  .page`http://localhost:4002`
 | 
			
		||||
 | 
			
		||||
test('shows unread notifications', async t => {
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue