summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/e2e/tunnel-state.spec.ts20
1 files changed, 15 insertions, 5 deletions
diff --git a/gui/e2e/tunnel-state.spec.ts b/gui/e2e/tunnel-state.spec.ts
index 066dd5066e..452f0a2265 100644
--- a/gui/e2e/tunnel-state.spec.ts
+++ b/gui/e2e/tunnel-state.spec.ts
@@ -64,7 +64,9 @@ test('App should show disconnected tunnel state', async () => {
const buttonColor = await getBackgroundColor(button);
expect(buttonColor).toBe(SECURE_COLOR);
- expect(await appWindow.screenshot()).toMatchSnapshot();
+ if (!process.env.GITHUB_ACTIONS) {
+ expect(await appWindow.screenshot()).toMatchSnapshot();
+ }
});
/**
@@ -94,7 +96,9 @@ test('App should show connecting tunnel state', async () => {
const buttonColor = await getBackgroundColor(button);
expect(buttonColor).toBe('rgba(227, 64, 57, 0.6)');
- expect(await appWindow.screenshot()).toMatchSnapshot();
+ if (!process.env.GITHUB_ACTIONS) {
+ expect(await appWindow.screenshot()).toMatchSnapshot();
+ }
});
/**
@@ -131,7 +135,9 @@ test('App should show connected tunnel state', async () => {
const buttonColor = await getBackgroundColor(button);
expect(buttonColor).toBe('rgba(255, 255, 255, 0.2)');
- expect(await appWindow.screenshot()).toMatchSnapshot();
+ if (!process.env.GITHUB_ACTIONS) {
+ expect(await appWindow.screenshot()).toMatchSnapshot();
+ }
});
/**
@@ -161,7 +167,9 @@ test('App should show disconnecting tunnel state', async () => {
const buttonColor = await getBackgroundColor(button);
expect(buttonColor).toBe(SECURE_COLOR);
- expect(await appWindow.screenshot()).toMatchSnapshot();
+ if (!process.env.GITHUB_ACTIONS) {
+ expect(await appWindow.screenshot()).toMatchSnapshot();
+ }
});
/**
@@ -187,5 +195,7 @@ test('App should show error tunnel state', async () => {
const headerColor = await getBackgroundColor(header);
expect(headerColor).toBe(SECURE_COLOR);
- expect(await appWindow.screenshot()).toMatchSnapshot();
+ if (!process.env.GITHUB_ACTIONS) {
+ expect(await appWindow.screenshot()).toMatchSnapshot();
+ }
});