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

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

deleted some comments

parent a6d9aafa
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
version: '3.5'
services:
gitsearch-app:
# image: docker.uibk.ac.at:443/csar9407/gitsearch:staging-3c2e4895e32dd72aa90f64d7ec7584d656f4d18b
# image: gitsearch:latest
image: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform
container_name: sharing_search
environment:
......
......@@ -20,8 +20,7 @@ describe('Likes e2e test', () => {
signInPage = await navBarPage.getSignInPage();
await signInPage.autoSignInUsing(username, password);
await browser.wait(ec.visibilityOf(navBarPage.entityMenu), 5000);
// await navBarPage.clickOnEntityMenu();
await browser.sleep(5000);
await browser.sleep(1000);
});
it('should load Likes', async () => {
......@@ -39,38 +38,6 @@ describe('Likes e2e test', () => {
await likesUpdatePage.cancel();
});
// it('should create and save Likes', async () => {
// const nbButtonsBeforeCreate = await likesComponentsPage.countDeleteButtons();
// await likesComponentsPage.clickOnCreateButton();
// await promise.all([
// likesUpdatePage.setDateInput('2000-12-31'),
// likesUpdatePage.setUserIDInput('5'),
// likesUpdatePage.setProjectIDInput('5'),
// ]);
// expect(await likesUpdatePage.getDateInput()).to.eq('2000-12-31', 'Expected date value to be equals to 2000-12-31');
// expect(await likesUpdatePage.getUserIDInput()).to.eq('5', 'Expected userID value to be equals to 5');
// expect(await likesUpdatePage.getProjectIDInput()).to.eq('5', 'Expected projectID value to be equals to 5');
// await likesUpdatePage.save();
// expect(await likesUpdatePage.getSaveButton().isPresent(), 'Expected save button disappear').to.be.false;
// expect(await likesComponentsPage.countDeleteButtons()).to.eq(nbButtonsBeforeCreate + 1, 'Expected one more entry in the table');
// });
// it('should delete last Likes', async () => {
// const nbButtonsBeforeDelete = await likesComponentsPage.countDeleteButtons();
// await likesComponentsPage.clickOnLastDeleteButton();
// likesDeleteDialog = new LikesDeleteDialog();
// expect(await likesDeleteDialog.getDialogTitle()).to.eq('gitsearchApp.likes.delete.question');
// await likesDeleteDialog.clickOnConfirmButton();
// expect(await likesComponentsPage.countDeleteButtons()).to.eq(nbButtonsBeforeDelete - 1);
// });
after(async () => {
await navBarPage.autoSignOut();
});
......
......@@ -20,7 +20,6 @@ describe('Statistics e2e test', () => {
signInPage = await navBarPage.getSignInPage();
await signInPage.autoSignInUsing(username, password);
await browser.wait(ec.visibilityOf(navBarPage.entityMenu), 5000);
// await navBarPage.clickOnEntityMenu();
});
it('should load Statistics', async () => {
......@@ -38,39 +37,6 @@ describe('Statistics e2e test', () => {
await statisticsUpdatePage.cancel();
});
// it('should create and save Statistics', async () => {
// const nbButtonsBeforeCreate = await statisticsComponentsPage.countDeleteButtons();
// await statisticsComponentsPage.clickOnCreateButton();
// await promise.all([
// statisticsUpdatePage.setViewsInput('5'),
// statisticsUpdatePage.setDownloadsInput('5'),
// statisticsUpdatePage.setExerciseIDInput('5'),
// ]);
// expect(await statisticsUpdatePage.getViewsInput()).to.eq('5', 'Expected views value to be equals to 5');
// expect(await statisticsUpdatePage.getDownloadsInput()).to.eq('5', 'Expected downloads value to be equals to 5');
// expect(await statisticsUpdatePage.getExerciseIDInput()).to.eq('5', 'Expected exerciseID value to be equals to 5');
// await statisticsUpdatePage.save();
// expect(await statisticsUpdatePage.getSaveButton().isPresent(), 'Expected save button disappear').to.be.false;
// expect(await statisticsComponentsPage.countDeleteButtons()).to.eq(nbButtonsBeforeCreate + 1, 'Expected one more entry in the table');
// });
// it('should delete last Statistics', async () => {
// const nbButtonsBeforeDelete = await statisticsComponentsPage.countDeleteButtons();
// browser.executeScript('window.scrollTo(0,document.body.scrollHeight)');
// await statisticsComponentsPage.clickOnLastDeleteButton();
// statisticsDeleteDialog = new StatisticsDeleteDialog();
// expect(await statisticsDeleteDialog.getDialogTitle()).to.eq('gitsearchApp.statistics.delete.question');
// await statisticsDeleteDialog.clickOnConfirmButton();
// expect(await statisticsComponentsPage.countDeleteButtons()).to.eq(nbButtonsBeforeDelete - 1);
// });
after(async () => {
await navBarPage.autoSignOut();
});
......
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