Skip to content

Commit

Permalink
test: Add release test workflow [DEV-4160] (#562)
Browse files Browse the repository at this point in the history
* test: Add release test worflow

* Exclude release tests in PR flow

* Debug

* Refactor
  • Loading branch information
DaevMithran authored Jul 26, 2024
1 parent b6d6013 commit 4374878
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
run: npm run test
env:
CI: true
RELEASE: ${{ github.ref_name == 'develop' }}
APPLICATION_BASE_URL: ${{ vars.APPLICATION_BASE_URL }}
COOKIE_SECRET: ${{ secrets.COOKIE_SECRET }}
ENABLE_AUTHENTICATION: ${{ vars.ENABLE_AUTHENTICATION }}
Expand Down
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default defineConfig({
},
{
name: 'Logged In User Tests',
...(process.env.RELEASE === 'true' ? {} : { testIgnore: /.*\.release\.spec\.ts/ }),
use: {
...devices['Desktop Chrome'],
// Use prepared auth state.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 4374878

Please sign in to comment.