Updated Script 17/5/25
This commit is contained in:
@@ -198,7 +198,7 @@ async function simulatePointerClick(page, x, y, button = 'left') {
|
||||
async function setupCanvasAndTools(page, toolSelector) {
|
||||
// 1. Navigate to the application
|
||||
await page.goto('http://185.100.212.76:8200');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@testdomin.local');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@tester.local');
|
||||
await page.getByPlaceholder('Password').fill('123456');
|
||||
await page.getByRole('button', { name: 'Continue', exact: true }).click();
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ const agvCoordinates = [
|
||||
*/
|
||||
async function loginAndSetup(page) {
|
||||
await page.goto('http://185.100.212.76:8200');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@testdomin.local');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@tester.local');
|
||||
await page.getByPlaceholder('Password').fill('123456');
|
||||
await page.getByRole('button', { name: 'Continue', exact: true }).click();
|
||||
console.log('Switching to full-screen mode...');
|
||||
|
||||
@@ -70,7 +70,7 @@ test('Create walls after moving canvas', async ({ page }) => {
|
||||
|
||||
// 1. Navigate to the application
|
||||
await page.goto('http://185.100.212.76:8200');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@testdomin.local');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@tester.local');
|
||||
await page.getByPlaceholder('Password').fill('123456');
|
||||
await page.getByRole('button', { name: 'Continue', exact: true }).click();
|
||||
|
||||
@@ -134,7 +134,7 @@ test('Delete walls after moving canvas', async ({ page }) => {
|
||||
|
||||
// 1. Navigate to the application
|
||||
await page.goto('http://185.100.212.76:8200');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@testdomin.local');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@tester.local');
|
||||
await page.getByPlaceholder('Password').fill('123456');
|
||||
await page.getByRole('button', { name: 'Continue', exact: true }).click();
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ async function loginAndSetup(page) {
|
||||
await page.goto('http://185.100.212.76:8200');
|
||||
|
||||
// Log in
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@testdomin.local');
|
||||
await page.getByPlaceholder('Email').fill('ramkumar@tester.local');
|
||||
await page.getByPlaceholder('Password').fill('123456');
|
||||
await page.getByRole('button', { name: 'Continue', exact: true }).click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user