-
Notifications
You must be signed in to change notification settings - Fork 18
Testing instructions for critical flows
Sumit Bagthariya edited this page Aug 12, 2024
·
5 revisions
Test Steps
- Download the Plugin zip from the Github
- Install the plugin zip in the Plugin Uploader screen of the store
Expected Result:
The plugin should be installed and activated without any error or trouble.
Test steps:
- Click on "Sign up for Free Account" button to proceed with free access.
- Fill out the Describe all of your use cases of X's data and API field. (You can find an example response in Wp-admin>Settings>Auto post for X/Twitter).
- Click on "Submit" button, it will redirect you to Developer portal.
- Configure access to your X/Twitter app access tokens
- Go to the X/Twitter developer portal
- Click on Projects & Apps on the left navigation menu.
- Find the App and click it to show the Settings page for the App.
- Click "Setup" under User authentication settings to setup Authentication.
- Enable OAuth 1.0a and Set App permissions to Read and write.
- Set the Website URL to your website URL (https://osp.local)
- Set the Callback URLs fields to your website URL (https://osp.local/wp-admin/admin-post.php?action=authoshare_authorize_callback) and click Save.
- Switch from the "Settings" tab to the "Keys and tokens" tab.
- Click on the Generate/Regenerate button in the Consumer Keys section.
- Copy the API Key and API Key Secret values and paste them below.
- Save setting
- Connect your X/Twitter account
- After saving settings, you will see the option to connect your X/Twitter account. Enter API Key and API Key Secret which we copy in step - 2
Expected Result:
The connection between the website and X/Twitter should be established successfully, allowing further interactions (e.g., auto-posting).
Screenshot
- All content types
- Selected content types only (Post / Page)
Test steps:
- Goto Wp-admin > Settings > Autopost for X/Twitter Settings
- Select All content types or Selected content types only
- Goto Page or post and create and new post or page
- Publish
Expected Result:
- Check the Twitter, Post should be tweeted
Test steps:
- Goto Wp-admin > Settings > Autopost for X/Twitter Settings
- Enable > Enable Autopost by default when publishing content
- Save setting
Expected Result:
Once saved, new content published on the site should have the Autopost option enabled by default.