Skip to content

Commit

Permalink
fix example renames for smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Feb 17, 2023
1 parent 0c45d27 commit dca3cd5
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 117 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/core_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,24 +187,24 @@ jobs:
test:
[
'auth.test.ts',
'basic.test.ts',
'blog.test.ts',
'document-field.test.ts',
'custom-admin-ui-logo.test.ts',
'custom-admin-ui-navigation.test.ts',
'custom-admin-ui-pages.test.ts',
'custom-field-view.test.ts',
'custom-field.test.ts',
'default-values.test.ts',
'document-field.test.ts',
'ecommerce.test.disabled.ts',
'extend-express-app.test.ts',
'extend-graphql-schema-graphql-tools.test.ts',
'extend-graphql-schema-graphql-ts.test.ts',
'extend-graphql-schema-nexus.test.ts',
'json.test.ts',
'rest-api.test.ts',
'roles.test.ts',
'package.json',
'task-manager.test.ts',
'testing.test.ts',
'with-auth.test.ts',
'custom-field-view.test.ts',
'custom-field.test.ts',
'custom-admin-ui-pages.test.ts',
'custom-admin-ui-logo.test.ts',
'custom-admin-ui-navigation.test.ts',
'usecase-blog.test.ts',
'usecase-roles.test.ts',
'virtual-field.test.ts',
]
fail-fast: false
steps:
Expand Down
65 changes: 0 additions & 65 deletions tests/examples-smoke-tests/basic.test.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Browser, Page } from 'playwright';
import fetch from 'node-fetch';
import { exampleProjectTests, loadIndex } from './utils';

exampleProjectTests('rest-api', browserType => {
exampleProjectTests('extend-express-app', browserType => {
let browser: Browser = undefined as any;
let page: Page = undefined as any;
beforeAll(async () => {
Expand Down
19 changes: 0 additions & 19 deletions tests/examples-smoke-tests/json.test.ts

This file was deleted.

16 changes: 0 additions & 16 deletions tests/examples-smoke-tests/roles.test.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Browser, Page } from 'playwright';
import { exampleProjectTests, loadIndex } from './utils';

exampleProjectTests('blog', browserType => {
exampleProjectTests('usecase-blog', browserType => {
let browser: Browser = undefined as any;
let page: Page = undefined as any;
beforeAll(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { exampleProjectTests, initFirstItemTest, loadIndex } from './utils';

// this is disabled currently because it's currently failing and we want to get the tests in without being blocked on this

exampleProjectTests('ecommerce', browserType => {
exampleProjectTests('usecase-ecommerce', browserType => {
let browser: Browser = undefined as any;
let page: Page = undefined as any;
beforeAll(async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Browser, Page } from 'playwright';
import { exampleProjectTests, initFirstItemTest, loadIndex } from './utils';

exampleProjectTests('with-auth', browserType => {
exampleProjectTests('usecase-roles', browserType => {
let browser: Browser = undefined as any;
let page: Page = undefined as any;
beforeAll(async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Browser, Page } from 'playwright';
import { exampleProjectTests, loadIndex } from './utils';

exampleProjectTests('task-manager', browserType => {
exampleProjectTests('usecase-task-manager', browserType => {
let browser: Browser = undefined as any;
let page: Page = undefined as any;
beforeAll(async () => {
Expand Down

0 comments on commit dca3cd5

Please sign in to comment.