feat: Create Collection e2e test (#50)

* add selector IDs
* add Create Collection e2e test
This commit is contained in:
depa panjie purnama
2022-10-26 23:29:37 +07:00
committed by GitHub
parent c0698adcb3
commit 90a29918d0
5 changed files with 36 additions and 9 deletions

View File

@ -14,6 +14,7 @@ test.describe('bruno e2e test', () => {
test('user should be able to load & use sample collection', async () => {
await homePage.loadSampleCollection();
await expect(homePage.loadSampleCollectionToastSuccess).toBeVisible();
await homePage.getUsers();
await expect(homePage.statusRequestSuccess).toBeVisible();
@ -31,4 +32,9 @@ test.describe('bruno e2e test', () => {
await expect(homePage.statusRequestSuccess).toBeVisible();
});
test('user should be able to create new collection', async () => {
await homePage.createCollection('test');
await expect(homePage.createCollectionToastSuccess).toBeVisible();
})
});