From cff31b33e41c432217de7e37d7a3b46fac41aeac Mon Sep 17 00:00:00 2001 From: Ahmad Pourihosseini Date: Sun, 28 Jan 2024 13:47:37 -0500 Subject: [PATCH] Test example.com --- tests/e2e/seleniumTests.test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/e2e/seleniumTests.test.js b/tests/e2e/seleniumTests.test.js index d380e16..f841c33 100644 --- a/tests/e2e/seleniumTests.test.js +++ b/tests/e2e/seleniumTests.test.js @@ -15,7 +15,8 @@ describe('Selenium UI Tests', () => { let driverUtils = null; const googleURL = 'http://www.google.com'; - const natGeoURL = 'https://www.nationalgeographic.com/'; + const exampleURL = 'https://www.example.com'; + // const natGeoURL = 'https://www.nationalgeographic.com/'; const createNewDriver = async () => { const extensionPath = process.env.EXTENSION_PATH || './dist/dev'; @@ -110,7 +111,7 @@ describe('Selenium UI Tests', () => { const signature1 = { title: 'Title1', favicon: '😀' }; await driverUtils.setSignature(signature1.title, signature1.favicon); - await driverUtils.openTabToURL(natGeoURL); + await driverUtils.openTabToURL(exampleURL); const signature2 = { title: 'Title2', favicon: '🌟' }; await driverUtils.setSignature(signature2.title, signature2.favicon); @@ -125,7 +126,7 @@ describe('Selenium UI Tests', () => { expect(await driverUtils.getTitle()).toBe(signature1.title); await driverUtils.assertEmojiSetAsFavicon(); - await driverUtils.openTabToURL(natGeoURL); + await driverUtils.openTabToURL(exampleURL); expect(await driverUtils.getTitle()).toBe(signature2.title); await driverUtils.assertEmojiSetAsFavicon();