mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 10:03:45 +03:00
Fixed e2e tests (button was not clickable)
This commit is contained in:
parent
9c5d002eda
commit
bdbf7e0ab1
|
@ -72,6 +72,8 @@ describe('Language tabs sync', () => {
|
|||
var $item = $$('[operation-id="addPet"] tabs > ul > li').last();
|
||||
// check if correct item
|
||||
expect($item.getText()).toContain('PHP');
|
||||
var EC = protractor.ExpectedConditions;
|
||||
browser.wait(EC.elementToBeClickable($item), 2000);
|
||||
$item.click().then(() => {
|
||||
expect($('[operation-id="updatePet"] li.active').getText()).toContain('PHP');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user