Updated Script 17/5/25

This commit is contained in:
2025-05-17 11:00:18 +00:00
parent 609fc55ebe
commit 7d327711a6
137 changed files with 22806 additions and 754 deletions

View File

@@ -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();

View File

@@ -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...');

View File

@@ -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();

View File

@@ -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();