From 60d7e1ed5a655a0babf097c01f70b93976b087f3 Mon Sep 17 00:00:00 2001 From: Simao Bolota Date: Wed, 11 Dec 2024 14:23:31 +0000 Subject: [PATCH] last changes --- frontend/test/fullFlow.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/test/fullFlow.test.js b/frontend/test/fullFlow.test.js index 13779d28..ed501824 100644 --- a/frontend/test/fullFlow.test.js +++ b/frontend/test/fullFlow.test.js @@ -3,8 +3,8 @@ const selectors = require('./selectors'); const puppeteer = require("puppeteer"); // INFO -const USERNAME = process.env.USERNAME || 'simao@metacell.us' -const PASSWORD = process.env.PASSWORD || 'Pokemon9897!' +const USERNAME = process.env.USERNAME +const PASSWORD = process.env.PASSWORD const baseURL = 'https://composer.sckan.dev.metacell.us/' @@ -707,6 +707,7 @@ describe('End to End Tests', () => { it('Check Population Diagram', async () => { console.log('Checking Population Diagram ...') await page.waitForTimeout(1000) + await page.waitForSelector('button[aria-label="Reset to default visualisation"]', {hidden:false}) await page.waitForSelector('div.node', {hidden:false}) const nodes = await page.$$('div.node'); //expect(nodes.length).toBe(3);