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

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

Publish docker image

parent 522c3d0a
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -155,6 +155,9 @@ docker-push:
only:
refs:
- development
dependencies:
- maven-test
- frontend-test
variables:
REGISTRY_URL: sharing-codeability.uibk.ac.at:5051
IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform
......@@ -168,7 +171,9 @@ deploy:
refs:
- development
dependencies:
- 'docker-push'
- docker-push
- maven-test
- frontend-test
image: ubuntu:20.04
before_script:
- apt-get update -qy
......
......@@ -37,7 +37,7 @@ describe('SavedSearches e2e test', () => {
expect(await savedSearchesComponentsPage.getTitle()).to.eq('gitsearchApp.savedSearches.home.title');
await browser.wait(
ec.or(ec.visibilityOf(savedSearchesComponentsPage.entities), ec.visibilityOf(savedSearchesComponentsPage.noResult)),
1000
10000
);
});
......
......@@ -27,7 +27,10 @@ describe('Statistics e2e test', () => {
statisticsComponentsPage = new StatisticsComponentsPage();
await browser.wait(ec.visibilityOf(statisticsComponentsPage.title), 5000);
expect(await statisticsComponentsPage.getTitle()).to.eq('gitsearchApp.statistics.home.title');
await browser.wait(ec.or(ec.visibilityOf(statisticsComponentsPage.entities), ec.visibilityOf(statisticsComponentsPage.noResult)), 1000);
await browser.wait(
ec.or(ec.visibilityOf(statisticsComponentsPage.entities), ec.visibilityOf(statisticsComponentsPage.noResult)),
10000
);
});
it('should load create Statistics page', async () => {
......
......@@ -33,7 +33,7 @@ describe('UserWatchList e2e test', () => {
expect(await userWatchListComponentsPage.getTitle()).to.eq('gitsearchApp.userWatchList.home.title');
await browser.wait(
ec.or(ec.visibilityOf(userWatchListComponentsPage.entities), ec.visibilityOf(userWatchListComponentsPage.noResult)),
1000
10000
);
});
......
......@@ -19,7 +19,7 @@ describe('WatchListEntry e2e test', () => {
before(async () => {
await browser.get('/');
await browser.sleep(2000);
await browser.sleep(3000);
navBarPage = new NavBarPage();
signInPage = await navBarPage.getSignInPage();
signInPage.autoSignInUsing(username, password);
......@@ -33,7 +33,7 @@ describe('WatchListEntry e2e test', () => {
expect(await watchListEntryComponentsPage.getTitle()).to.eq('gitsearchApp.watchListEntry.home.title');
await browser.wait(
ec.or(ec.visibilityOf(watchListEntryComponentsPage.entities), ec.visibilityOf(watchListEntryComponentsPage.noResult)),
1000
10000
);
});
......
......@@ -26,6 +26,7 @@ describe('search', () => {
expect(value2).to.eq(expect2);
await navBarPage.clickOnSearch();
await browser.sleep(3000);
await browser.wait(ec.visibilityOf(element(by.id('numberOfResults'))), 10000);
});
......
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