Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DJS smoke test with different plugins #49

Open
Mai-Saad opened this issue Feb 15, 2024 · 0 comments
Open

DJS smoke test with different plugins #49

Mai-Saad opened this issue Feb 15, 2024 · 0 comments

Comments

@Mai-Saad
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Sometimes, if certain plugin is activated with delay js we can have console error. Will be great to do smoke test on DJS when enable specific plugin

Describe the solution you'd like
Scenario1: Shouldn't cause console error when enabling Delay JS with different plugins
Given Delay JS is enabled
When plugin 'x' is activated
And visit the home page
And move the mouse
Then no console error different than nowprocket page
And no visual regression

Scenario2: Should the mobile menu be closed by default While Delay JS and 'x' plugin are enabled
Given Delay JS is enabled
And Separate mobile cache is enabled
When plugin 'x' is activated
And visit the home page in mobile view
Then the mobile menu shall be closed by default

Scenario3: Should the mobile menu work While Delay JS and 'x' plugin are enabled
Given Delay JS is enabled
And Separate mobile cache is enabled
When plugin 'x' is activated
And visit the home page in mobile view
Then the mobile menu shall be closed by default
And click on the mobile menu
Then the menu shall expand as same as in nowprocket

Scenario4: Should links be clickable While Delay JS is enabled and 'x' plugin is activated
Given Delay JS is enabled
And Separate mobile cache is enabled
When plugin 'x' is activated
And visit the home page in mobile view
And click on the link in the page
Then the page navigated to the new page

Additional context
Add any other context or screenshots about the feature request here.

  • Some analysis is needed to determine suitable plugins to check here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant