Merge pull request 'stowaway test included + supplier contact refactor' (#444) from 2581-e2e_misc_fixes into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #444 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
53f69ae8e5
|
@ -103,8 +103,7 @@ describe('Ticket descriptor path', () => {
|
|||
expect(message.text).toBe('Data saved!');
|
||||
});
|
||||
|
||||
xit(`should check the state of the stowaway ticket is embarked`, async() => {
|
||||
await page.wait(500);
|
||||
it(`should check the state of the stowaway ticket is embarked`, async() => {
|
||||
const state = await page.waitToGetProperty(selectors.ticketDescriptor.stateLabelValue, 'innerText');
|
||||
|
||||
expect(state).toEqual('State Embarcando');
|
||||
|
|
|
@ -69,6 +69,10 @@ describe('Supplier contact path', () => {
|
|||
|
||||
it(`should remove the created contact`, async() => {
|
||||
await page.waitToClick(selectors.supplierContact.thirdContactDeleteButton, 'value');
|
||||
const result = await page.countElement(selectors.supplierContact.anyContact);
|
||||
|
||||
expect(result).toEqual(2);
|
||||
|
||||
await page.waitToClick(selectors.supplierContact.saveButton);
|
||||
const message = await page.waitForSnackbar();
|
||||
|
||||
|
|
Loading…
Reference in New Issue