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

Add/Plugin Upload E2E tests #1786

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

juhi123
Copy link

@juhi123 juhi123 commented Oct 28, 2021

Related Trac Ticket: https://core.trac.wordpress.org/ticket/54334


Test Scenario

Install the old plugin from the uploader

Given that plugin zip is present
Go to Plugin -> Add New
Click on Upload Plugin
Choose File: Upload the older version of the plugin
When I click on Install, I should see the Activate Plugin button
I go to plugins->installed plugin and should see old plugin version

Install the new plugin from the uploader

Given that plugin zip is present
Go to Plugin -> Add New
Click on Upload Plugin
Choose File: Upload the new version of the plugin
When I click on Install, I see the Replace current with uploaded button
When I click on “Replace current with uploaded” I should see the Activate Plugin button
I go to plugins->installed plugin and should see the new plugin version

Cancel the old version upload

Given that plugin zip is present
Go to Plugin -> Add New
Click on Upload Plugin
Choose File: Upload the older version of the plugin
When I click on Cancel and go back, I should be on plugin-install.php URL

@juhi123
Copy link
Author

juhi123 commented Oct 14, 2022

I have merged the trunk into this.

@juhi123 juhi123 changed the base branch from master to trunk October 17, 2022 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant