[ADF-3569] Add tests for task list demo page: (#3810)

* [ADF-3438] Add tests for task list demo page:

* Fixing some tests

* Added new tests

* Add more tests

* Fix the name of the test for bamboo

* Fix test name to work on bamboo

* no message

* Added new tests

* Modified the error message.

* no message

* fix lint issues

* Fix lint issues

* Changing taskListSinglePage from js to ts

* Uncomment a test

* Fixing lint issues

* Solve lint error

* Refactored taskListDemoPage

* Commented two tests that are failing because of a bug in APS

* Fix lint error

* Resolved comments
This commit is contained in:
cristinaj
2018-11-19 14:20:42 +02:00
committed by Eugenio Romano
parent 002998b10e
commit 2e8d998853
16 changed files with 1031 additions and 29 deletions

View File

@@ -364,7 +364,7 @@ describe('Document List Component', () => {
done();
});
it('[C268119] "ygj" letters should be rendered properly', async (done) => {
it('[C268119] - ygj letters rendering in document list', async (done) => {
acsUser = new AcsUserModel();
/* cspell:disable-next-line */
let folderName = 'ggggggjjjjjjjjjjjjyyyyyy';
@@ -399,7 +399,7 @@ describe('Document List Component', () => {
done();
});
it('[C269086] Should display "Islocked" field for files', async (done) => {
it('[C269086] Should display Islocked field for files', async (done) => {
let testFileA = new FileModel({
'name': resources.Files.ADF_DOCUMENTS.TEST.file_name,
'location': resources.Files.ADF_DOCUMENTS.TEST.file_location