diff --git a/playwright-test/tests/test_10.spec.js b/playwright-test/tests/test_10.spec.js index e81bce7..37e9da9 100644 --- a/playwright-test/tests/test_10.spec.js +++ b/playwright-test/tests/test_10.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Percy'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Percy - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Percy at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_2.spec.js b/playwright-test/tests/test_2.spec.js index 1d90a5b..1652a43 100644 --- a/playwright-test/tests/test_2.spec.js +++ b/playwright-test/tests/test_2.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Playwright'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Playwright - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Playwright at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_3.spec.js b/playwright-test/tests/test_3.spec.js index 38dc633..a55d2f5 100644 --- a/playwright-test/tests/test_3.spec.js +++ b/playwright-test/tests/test_3.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Puppeteer'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Puppeteer - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Puppeteer at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_4.spec.js b/playwright-test/tests/test_4.spec.js index b17a936..b26decd 100644 --- a/playwright-test/tests/test_4.spec.js +++ b/playwright-test/tests/test_4.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Cypress'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Cypress - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Cypress at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_5.spec.js b/playwright-test/tests/test_5.spec.js index e14d1bb..28a01d3 100644 --- a/playwright-test/tests/test_5.spec.js +++ b/playwright-test/tests/test_5.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Local'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Local - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Local at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_6.spec.js b/playwright-test/tests/test_6.spec.js index e87180b..c0c1f30 100644 --- a/playwright-test/tests/test_6.spec.js +++ b/playwright-test/tests/test_6.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Selenium'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Selenium - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Selenium at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_7.spec.js b/playwright-test/tests/test_7.spec.js index 1776f77..d1e60ff 100644 --- a/playwright-test/tests/test_7.spec.js +++ b/playwright-test/tests/test_7.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); - await element.type('BrowserStack Speedlab'); + await element.type('BrowserStack SpeedLab'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Speedlab - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack SpeedLab at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_8.spec.js b/playwright-test/tests/test_8.spec.js index 0465f0b..71842c4 100644 --- a/playwright-test/tests/test_8.spec.js +++ b/playwright-test/tests/test_8.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Live'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Live - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Live at DuckDuckGo', 'Expected page title is incorrect!'); }); }); diff --git a/playwright-test/tests/test_9.spec.js b/playwright-test/tests/test_9.spec.js index 72b9ee4..67e6b11 100644 --- a/playwright-test/tests/test_9.spec.js +++ b/playwright-test/tests/test_9.spec.js @@ -3,13 +3,13 @@ const { expect } = require('@playwright/test'); test.describe('feature foo', () => { test('my test', async ({ page }) => { // Assertions use the expect API. - await page.goto('https://www.google.com/ncr'); - const element = await page.$('[aria-label="Search"]'); + await page.goto('https://www.duckduckgo.com'); + const element = await page.$('[name="q"]'); await element.click(); await element.type('BrowserStack Appium'); await element.press('Enter'); const title = await page.title(''); console.log(title); - expect(title).toEqual( 'BrowserStack Appium - Google Search', 'Expected page title is incorrect!'); + expect(title).toEqual( 'BrowserStack Appium at DuckDuckGo', 'Expected page title is incorrect!'); }); });