Skip to content

Commit

Permalink
Skip Google sign-in e2e test in beforeAll hook (#1061)
Browse files Browse the repository at this point in the history
The 'beforeAll' hook in the 'google-signin-happy-path' end-to-end test has been updated to skip the test. This change was necessary to prevent the test from running in certain scenarios where it wasn't needed. The test can be enabled or disabled as required in future.
  • Loading branch information
gustavolira committed Mar 8, 2024
1 parent 2eb9d3d commit 2cd94e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/playwright/e2e/google-signin-happy-path.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test.describe('Google signin happy path', () => {
let common: Common;
const google_user_id = 'rhdhtest@gmail.com';

test.beforeAll(async ({ browser }) => {
test.beforeAll.skip(async ({ browser }) => {
const cookiesBase64 = process.env.GOOGLE_ACC_COOKIE;
const cookiesString = Buffer.from(cookiesBase64, 'base64').toString('utf8');
const cookies = JSON.parse(cookiesString);
Expand Down

0 comments on commit 2cd94e2

Please sign in to comment.