Skip to content

Commit

Permalink
Regression: Fix e2e CI (#25974)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jun 23, 2022
1 parent 916ff8b commit b0b1a0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const config: PlaywrightTestConfig = {
baseURL,
},
outputDir: 'tests/e2e/test-failures',
reporter: [['list']],
reporter: process.env.CI ? 'github' : 'list',
testDir: 'tests/e2e',
retries: 3,
workers: 1,
Expand Down
2 changes: 2 additions & 0 deletions apps/meteor/tests/e2e/11-admin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ test.describe('[Administration]', () => {

test.describe('[General]', () => {
test('expect change site url reset button is showed', async () => {
await admin.generalSiteUrl.type('something');
await expect(admin.generalSiteUrlReset).toBeVisible();
await admin.generalSiteUrlReset.click();
});

test('expect change site name reset button is showed', async () => {
Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
"outputs": ["dist/**"],
"inputs": ["!tests/**"]
},
"testunit": {
"dependsOn": ["build"],
Expand Down

0 comments on commit b0b1a0c

Please sign in to comment.