diff --git a/webapp/e2e/steps/login.steps.js b/webapp/e2e/steps/login.steps.js index 009019a..bb1dc34 100644 --- a/webapp/e2e/steps/login.steps.js +++ b/webapp/e2e/steps/login.steps.js @@ -15,19 +15,19 @@ const password = "testUserPassword" defineFeature(feature, test => { - beforeAll(async () => { - browser = await puppeteer.launch({ - headless: "new", - slowMo: 40, - defaultViewport: { width: 1920, height: 1080 }, - args: ['--window-size=1920,1080'] - }); - - page = await browser.newPage(); - setDefaultOptions({ timeout: 30000 }); - - await register(page, email, username, password); +beforeAll(async () => { + browser = await puppeteer.launch({ + headless: "new", + slowMo: 20, + defaultViewport: { width: 1920, height: 1080 }, + args: ['--window-size=1920,1080'] }); + +page = await browser.newPage(); +setDefaultOptions({ timeout: 10000 }); +await register(page, email, username, password); + +},60000); beforeEach(async () => { await logout(page); diff --git a/webapp/webapp/package-lock.json b/webapp/webapp/package-lock.json new file mode 100644 index 0000000..b73ba1c --- /dev/null +++ b/webapp/webapp/package-lock.json @@ -0,0 +1,56 @@ +{ + "name": "webapp", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "webapp": "file:.." + } + }, + "..": { + "version": "0.1.0", + "dependencies": { + "@emotion/react": "^11.11.3", + "@emotion/styled": "^11.11.0", + "@mui/material": "^5.15.3", + "@testing-library/jest-dom": "^5.17.0", + "@testing-library/react": "^14.1.2", + "@testing-library/user-event": "^14.5.2", + "axios": "^1.6.5", + "bcrypt": "^5.1.1", + "express": "^4.19.2", + "i18n": "^0.15.1", + "jquery": "^3.7.1", + "js-cookie": "^3.0.5", + "jsonwebtoken": "^9.0.2", + "mongoose": "^8.3.0", + "react": "^18.2.0", + "react-countdown": "^2.3.5", + "react-dom": "^18.2.0", + "react-i18next": "^14.0.5", + "react-icons": "^5.0.1", + "react-router-dom": "^6.22.3", + "react-scripts": "^5.0.1", + "web-vitals": "^3.5.1", + "zxcvbn": "^4.4.2" + }, + "devDependencies": { + "@babel/plugin-proposal-private-property-in-object": "^7.21.11", + "axios-mock-adapter": "^1.22.0", + "expect-puppeteer": "^9.0.2", + "jest": "^29.3.1", + "jest-cucumber": "^3.0.1", + "jest-environment-node": "^29.7.0", + "mongodb-memory-server": "^9.1.4", + "puppeteer": "^21.7.0", + "serve": "^14.2.1", + "start-server-and-test": "^2.0.3" + } + }, + "node_modules/webapp": { + "resolved": "..", + "link": true + } + } +} diff --git a/webapp/webapp/package.json b/webapp/webapp/package.json new file mode 100644 index 0000000..96fd912 --- /dev/null +++ b/webapp/webapp/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "webapp": "file:.." + } +}