This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 6bc0a346 authored by Eduard Frankford's avatar Eduard Frankford
Browse files

e2e test

parent 7e45ec7d
5 merge requests!132Bringing July Release to production,!128Fixing #315 and #319,!126Continous Deployment with E2E Tests,!125Publish docker image,!119Publish docker image
......@@ -5,13 +5,13 @@ cache:
paths:
- .maven/
stages:
- lint
- build
- test
- analyze
# - lint
# - build
- test2
# - analyze
# - package
- release
- deploy
# - release
# - deploy
before_script:
- export NG_CLI_ANALYTICS="false"
......@@ -98,6 +98,12 @@ frontend-test:
expire_in: 15 days
needs: []
e2e-test:
stage: test2
cache: {}
script:
- npm run e2e
sonar-analyze:
stage: analyze
dependencies:
......
......@@ -26826,7 +26826,7 @@
"text-table": "0.2.0",
"tree-kill": "1.2.2",
"tslib": "2.3.1",
"webpack": "5.65.0",
"webpack": "5.66.0",
"webpack-dev-middleware": "5.2.2",
"webpack-dev-server": "4.6.0",
"webpack-merge": "5.8.0",
......@@ -27455,8 +27455,7 @@
}
},
"webpack": {
"version": "5.65.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-5.65.0.tgz",
"version": "https://registry.npmjs.org/webpack/-/webpack-5.65.0.tgz",
"integrity": "sha512-Q5or2o6EKs7+oKmJo7LaqZaMOlDWQse9Tm5l1WAfU/ujLGN5Pb0SqGeVkN/4bpPmEqEP5RnVhiqsOtWtUVwGRw==",
"dev": true,
"requires": {
......@@ -38,7 +38,7 @@
"docker:others:down": "npm run docker:elasticsearch:down",
"predocker:others:up": "",
"docker:others:up": "npm run docker:elasticsearch:up",
"e2e": "protractor src/test/javascript/protractor.conf.js",
"e2e": "export JHI_E2E_HEADLESS=true; protractor src/test/javascript/protractor.conf.js --disableChecks",
"e2e:ci": "protractor --baseUrl='https://dev-exchange.codeability-austria.uibk.ac.at/' src/test/javascript/protractor.conf.js --disableChecks",
"e2e:update-webdriver": "webdriver-manager update --gecko false",
"postinstall": "npm run e2e:update-webdriver",
......
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { A } from '@angular/cdk/keycodes';
import { element, by, ElementFinder } from 'protractor';
/* eslint @typescript-eslint/no-use-before-define: 0 */
export class NavBarPage {
......
......@@ -19,7 +19,7 @@ exports.config = {
directConnect: true,
baseUrl: process.env.baseUrl ? process.env.baseUrl : 'http://localhost:9000/',
baseUrl: process.env.baseUrl ? process.env.baseUrl : 'http://localhost:8080/',
framework: 'mocha',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment