One note though, is that it forgets to add the await keyword on lines like this one:
const inputClassic = $(selectors.inputClassic);
where it should transform those into:
const inputClassic = await $(selectors.inputClassic);.
Do note that it does add the await keyword in lines like that:
expect($(selectors.elementP1).getText()).toEqual('2.140%');
(to: expect(await $(selectors.elementP1).getText()).toEqual('2.140%');)
The async scripts works very well, thank you!
One note though, is that it forgets to add the
await
keyword on lines like this one:const inputClassic = $(selectors.inputClassic);
where it should transform those into:const inputClassic = await $(selectors.inputClassic);
.Do note that it does add the
await
keyword in lines like that:expect($(selectors.elementP1).getText()).toEqual('2.140%');
(to:expect(await $(selectors.elementP1).getText()).toEqual('2.140%');
)