-
-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updating ci script to use latest shutdown logic - Removed unneeded tests - Split browser tests into ones that need a gl instance those that down - Removing the need to run the full e2e test unless its a release branch - Moved the most tested release tests (the exports) into a integration test since it doesnt require a full gitlab instance for testing
- Loading branch information
1 parent
e76b91b
commit ac69507
Showing
15 changed files
with
292 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.turbo | ||
reports | ||
coverage | ||
dist | ||
package.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,35 @@ | ||
import { defineConfig } from '@playwright/test'; | ||
|
||
const launchOptions = { | ||
args: [ | ||
'--disable-web-security', | ||
'--allow-file-access-from-files' | ||
], | ||
} | ||
|
||
export default defineConfig({ | ||
use: { | ||
browserName: 'chromium', | ||
launchOptions: { | ||
args: [ | ||
'--disable-web-security', | ||
'--allow-file-access-from-files' | ||
], | ||
} | ||
}, | ||
testDir: './test/e2e/browser', | ||
testMatch: /.*.ts/, | ||
testMatch: /.*.ts/, | ||
reporter: [ | ||
['line'], | ||
['junit', { outputFile: './reports/browser_junit.xml' }], | ||
], | ||
projects: [ | ||
{ | ||
name: 'e2e', | ||
use: { | ||
browserName: 'chromium', | ||
launchOptions | ||
}, | ||
testDir: './test/e2e/browser', | ||
}, | ||
{ | ||
name: 'integration', | ||
use: { | ||
browserName: 'chromium', | ||
launchOptions | ||
}, | ||
testDir: './test/integration/browser', | ||
} | ||
] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.