-
-
Notifications
You must be signed in to change notification settings - Fork 340
bugITwhisperer: playwright skeleton tests steps update (Issue #378) #379
bugITwhisperer: playwright skeleton tests steps update (Issue #378) #379
Conversation
@eddiejaoude, @Benmuiruri , @frazie , @tbhaxor: hi there! could you have a look at my suggested changes? :) |
// navigate to the docs landing page /docs | ||
// check if the Introduction element in the left menu is holding the active class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh I think the test case is valid, you mean the test description is the same one for the ones above right? In case yes, we should definitely check the steps for testing it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cahllagerfeld : well, yeah. The lines 27-28 are duplicates of lines 21-22, they say the very same thing and do not match the test description at all:
// navigate to the docs landing page /docs
// check if the Introduction element in the left menu is holding the active class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you confirm the proper steps in those skeletons should be as follows?
test.fixme('is the highlighted item in the left-menu is the correct one', async ({ page }) => {
// navigate to the docs landing page /docs
// check if the Introduction element in the left menu is highlighted element
});
test.fixme(
'is the left-side menu containing an element with the same name as the page headline', async ({ page }) => {
// navigate to the docs landing page /docs
// check if both element in the left menu and page header are the same and say 'Introduction'
},
);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that it's looking good to me 👍
Co-authored-by: Cahllagerfeld <[email protected]>
@Cahllagerfeld : can you add |
I have added the label Great collab 💪 |
Fixes Issue #378
Changes proposed
introduction.spec.ts
andlogin.spec.ts
filessince it's already covered in the 1st test:
it's been covered by this test: