Skip to content

Commit 2a081c3

Browse files
fix tests
1 parent 96c09e0 commit 2a081c3

File tree

6 files changed

+57
-56
lines changed

6 files changed

+57
-56
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Test Name,Fail Reason,Last Results,Result,Resolution,Assignee,Comment
2-
"Test Feature with all results: step failed","step was failed !”#$%&’()*+,-./:;<=>?@[\]^_`{|}~","","Failed","Not Assigned",,
3-
"Test Feature with all results: All passed","","","Passed",,,
4-
"Test Feature with all results: Step skipped","step was skippedstep was skipped","","Pending","Not Assigned",,
2+
"Test Feature with all results: step failed","step was failed !”#$%&’()*+,-./:;<=>?@[\]^_`{|}~","3","Failed","Not Assigned",,
3+
"Test Feature with all results: All passed","","5","Passed",,,
4+
"Test Feature with all results: Step skipped","step was skippedstep was skipped","3","Pending","Not Assigned",,
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Test Name,Fail Reason,Last Results,Result,Resolution,Assignee,Comment
2-
"Example.Tests.Class1.AttachmentsAreOptional","","","Passed",,,
3-
"Example.Tests.Class1.Test1","","","Passed",,,
4-
"Example.Tests.Class1.Test2","","","Passed",,,
5-
"Example.Tests.Class1.Test3","Test exceeded Timeout value of 1000ms","","Failed","Not Assigned",,
6-
"Example.Tests.Class1.Test4","Assertion: Expected: True But was: False ","","Failed","Not Assigned",,
7-
"Example.Tests.Class2.IgnoredTest","My ignore reason","","Not Executed","Not Assigned",,
8-
"Example.Tests.Class2.SyncTest","","","Passed",,,
9-
"Example.Tests.Class2.Test1","","","Passed",,,
10-
"Example.Tests.Class2.Test2","Assertion: My warn message","","Failed","Not Assigned",,
11-
"Example.Tests.Class2.Test3","Assertion: test failed.","","Failed","Not Assigned",,
12-
"Example.Tests.Class2.Test3FailedWithoutMessage","Failed without any message. Please see logs on result page.","","Failed","Not Assigned",,
13-
"Example.Tests.Class2.Test4","","","Passed",,,
14-
"Example.Tests.Class2.TestWithTestCaseSource(0)","","","Passed",,,
15-
"Example.Tests.Class2.TestWithTestCaseSource(1)","","","Passed",,,
16-
"Example.Tests.Class2.TestWithTestCaseSource(2)","","","Passed",,,
17-
"Example.Tests.Class3.Test1","OneTimeSetUp: System.Exception : Setup exception.","","Failed","Not Assigned",,
18-
"Example.Tests.Class3.Test2","OneTimeSetUp: System.Exception : Setup exception.","","Failed","Not Assigned",,
19-
"Example.Tests.Class3.Test3","OneTimeSetUp: System.Exception : Setup exception.","","Failed","Not Assigned",,
20-
"Example.Tests.FailedClass.Test1","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","","Failed","Not Assigned",,
21-
"Example.Tests.FailedClass.Test2","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","","Failed","Not Assigned",,
22-
"Example.Tests.IgnoredClass.Test1","OneTimeSetUp: Ignore reason for suite","","Not Executed","Not Assigned",,
23-
"Example.Tests.IgnoredClass.Test2","OneTimeSetUp: Ignore reason for suite","","Not Executed","Not Assigned",,
24-
"Example.Tests.InnerFolder.Class1.Test1","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","","Failed","Not Assigned",,
25-
"Example.Tests.InnerFolder.Class1.Test2","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","","Failed","Not Assigned",,
2+
"Example.Tests.Class1.AttachmentsAreOptional","","5","Passed",,,
3+
"Example.Tests.Class1.Test1","","5","Passed",,,
4+
"Example.Tests.Class1.Test2","","5","Passed",,,
5+
"Example.Tests.Class1.Test3","Test exceeded Timeout value of 1000ms","3","Failed","Not Assigned",,
6+
"Example.Tests.Class1.Test4","Assertion: Expected: True But was: False ","3","Failed","Not Assigned",,
7+
"Example.Tests.Class2.IgnoredTest","My ignore reason","3","Not Executed","Not Assigned",,
8+
"Example.Tests.Class2.SyncTest","","5","Passed",,,
9+
"Example.Tests.Class2.Test1","","5","Passed",,,
10+
"Example.Tests.Class2.Test2","Assertion: My warn message","3","Failed","Not Assigned",,
11+
"Example.Tests.Class2.Test3","Assertion: test failed.","3","Failed","Not Assigned",,
12+
"Example.Tests.Class2.Test3FailedWithoutMessage","Failed without any message. Please see logs on result page.","3","Failed","Not Assigned",,
13+
"Example.Tests.Class2.Test4","","5","Passed",,,
14+
"Example.Tests.Class2.TestWithTestCaseSource(0)","","5","Passed",,,
15+
"Example.Tests.Class2.TestWithTestCaseSource(1)","","5","Passed",,,
16+
"Example.Tests.Class2.TestWithTestCaseSource(2)","","5","Passed",,,
17+
"Example.Tests.Class3.Test1","OneTimeSetUp: System.Exception : Setup exception.","3","Failed","Not Assigned",,
18+
"Example.Tests.Class3.Test2","OneTimeSetUp: System.Exception : Setup exception.","3","Failed","Not Assigned",,
19+
"Example.Tests.Class3.Test3","OneTimeSetUp: System.Exception : Setup exception.","3","Failed","Not Assigned",,
20+
"Example.Tests.FailedClass.Test1","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","3","Failed","Not Assigned",,
21+
"Example.Tests.FailedClass.Test2","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","3","Failed","Not Assigned",,
22+
"Example.Tests.IgnoredClass.Test1","OneTimeSetUp: Ignore reason for suite","3","Not Executed","Not Assigned",,
23+
"Example.Tests.IgnoredClass.Test2","OneTimeSetUp: Ignore reason for suite","3","Not Executed","Not Assigned",,
24+
"Example.Tests.InnerFolder.Class1.Test1","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","3","Failed","Not Assigned",,
25+
"Example.Tests.InnerFolder.Class1.Test2","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","3","Failed","Not Assigned",,
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Test Name,Fail Reason,Last Results,Result,Resolution,Assignee,Comment
2-
"Class1: AttachmentsAreOptional","","","Passed",,,
3-
"Class1: Test1","","","Passed",,,
4-
"Class1: Test1","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","","Failed","Not Assigned",,
5-
"Class1: Test2","","","Passed",,,
6-
"Class1: Test2","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","","Failed","Not Assigned",,
7-
"Class1: Test3","Test exceeded Timeout value of 1000ms","","Failed","Not Assigned",,
8-
"Class1: Test4","Assertion: Expected: True But was: False ","","Failed","Not Assigned",,
9-
"Class2: IgnoredTest","My ignore reason","","Not Executed","Not Assigned",,
10-
"Class2: SyncTest","","","Passed",,,
11-
"Class2: Test1","","","Passed",,,
12-
"Class2: Test2","Assertion: My warn message","","Failed","Not Assigned",,
13-
"Class2: Test3","Assertion: test failed.","","Failed","Not Assigned",,
14-
"Class2: Test3FailedWithoutMessage","Failed without any message. Please see logs on result page.","","Failed","Not Assigned",,
15-
"Class2: Test4","","","Passed",,,
16-
"Class2: TestWithTestCaseSource(0)","","","Passed",,,
17-
"Class2: TestWithTestCaseSource(1)","","","Passed",,,
18-
"Class2: TestWithTestCaseSource(2)","","","Passed",,,
19-
"Class3: Test1","OneTimeSetUp: System.Exception : Setup exception.","","Failed","Not Assigned",,
20-
"Class3: Test2","OneTimeSetUp: System.Exception : Setup exception.","","Failed","Not Assigned",,
21-
"Class3: Test3","OneTimeSetUp: System.Exception : Setup exception.","","Failed","Not Assigned",,
22-
"FailedClass: Test1","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","","Failed","Not Assigned",,
23-
"FailedClass: Test2","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","","Failed","Not Assigned",,
24-
"IgnoredClass: Test1","OneTimeSetUp: Ignore reason for suite","","Not Executed","Not Assigned",,
25-
"IgnoredClass: Test2","OneTimeSetUp: Ignore reason for suite","","Not Executed","Not Assigned",,
2+
"Class1: AttachmentsAreOptional","","5","Passed",,,
3+
"Class1: Test1","","5,3","Passed",,,
4+
"Class1: Test1","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","5,3","Failed","Not Assigned",,
5+
"Class1: Test2","","5,3","Passed",,,
6+
"Class1: Test2","OneTimeSetUp: System.Exception : Assembly SetUpFixture exception.","5,3","Failed","Not Assigned",,
7+
"Class1: Test3","Test exceeded Timeout value of 1000ms","3","Failed","Not Assigned",,
8+
"Class1: Test4","Assertion: Expected: True But was: False ","3","Failed","Not Assigned",,
9+
"Class2: IgnoredTest","My ignore reason","3","Not Executed","Not Assigned",,
10+
"Class2: SyncTest","","5","Passed",,,
11+
"Class2: Test1","","5","Passed",,,
12+
"Class2: Test2","Assertion: My warn message","3","Failed","Not Assigned",,
13+
"Class2: Test3","Assertion: test failed.","3","Failed","Not Assigned",,
14+
"Class2: Test3FailedWithoutMessage","Failed without any message. Please see logs on result page.","3","Failed","Not Assigned",,
15+
"Class2: Test4","","5","Passed",,,
16+
"Class2: TestWithTestCaseSource(0)","","5","Passed",,,
17+
"Class2: TestWithTestCaseSource(1)","","5","Passed",,,
18+
"Class2: TestWithTestCaseSource(2)","","5","Passed",,,
19+
"Class3: Test1","OneTimeSetUp: System.Exception : Setup exception.","3","Failed","Not Assigned",,
20+
"Class3: Test2","OneTimeSetUp: System.Exception : Setup exception.","3","Failed","Not Assigned",,
21+
"Class3: Test3","OneTimeSetUp: System.Exception : Setup exception.","3","Failed","Not Assigned",,
22+
"FailedClass: Test1","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","3","Failed","Not Assigned",,
23+
"FailedClass: Test2","OneTimeSetUp: System.Exception : Here is OneTimeSetup exception.","3","Failed","Not Assigned",,
24+
"IgnoredClass: Test1","OneTimeSetUp: Ignore reason for suite","3","Not Executed","Not Assigned",,
25+
"IgnoredClass: Test2","OneTimeSetUp: Ignore reason for suite","3","Not Executed","Not Assigned",,

e2e/elements/base.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class BaseElement {
1616
}
1717

1818
async isVisible(): Promise<boolean> {
19-
return waiter.forTrue(() => this.element.isPresent(), 2, 500);
19+
return waiter.forTrue(() => this.element.isPresent(), 5, 500);
2020
}
2121

2222
async isPresent(): Promise<boolean> {

e2e/specs/project/project.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ describe('Full Admin Project', () => {
4444
return expect(projectCreate.isCreateButtonEnabled()).toBe(true);
4545
});
4646

47-
it('Message about creation is shown', async () => {
48-
return projectList.notification.assertIsSuccess(`${project.name} project is created!`);
49-
});
50-
5147
it('Redirected to List after success project creation', async () => {
5248
await projectCreate.clickCreateButton();
5349
return expect(projectList.isOpened()).toEqual(true);
5450
});
5551

52+
it('Message about creation is shown', async () => {
53+
return projectList.notification.assertIsSuccess(`${project.name} project is created!`);
54+
});
55+
5656
it(`Project is in list after creation`, async () => {
5757
return expect(projectList.isProjectInList(project.name)).toEqual(true);
5858
});

e2e/utils/testData.util.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class TestData {
4545
if (err) {
4646
reject(err.message);
4747
}
48+
logger.info(`\n${data.toString()}\n`);
4849
resolve(data.toString());
4950
});
5051
});

0 commit comments

Comments
 (0)