Comments (3)
QA feedback:
The following use cases should be tested:
— Title —
- Create new post with title “Test post”,
check Twitter title preview is set to “Test post”,
publish post,
check meta settings twitter:title is set to “Test post” - Given SEO title is set to default value in Content optimization tab - "Edit Snippet" of post,
and Twitter title is not changed,
change Twitter title to "Happy life - %%sitename%%" in Social tab of post,
publish post,
check meta settings of post is set to meta property="twitter:title" content="Happy life - WordPress Dev" - Given SEO - Search Appearance for Posts - Content types is configured with SEO Title "%%title%% %%sep%% %%sitename%% test",
create and publish new post with title "Little post”,
check Twitter title is set to "Little post”,
check meta settings of post are set to:
meta property="og:title" content="Little post - Local WordPress Dev test"
meta name="twitter:title" content="Little post - Local WordPress Dev test"
Repeat the steps above for Page, Category and Tag
Perform all these tests in Premium plugin as well.
— Description —
- Create new post with the content which starts with “This is the beginning”,
and Meta description is left empty in Content optimization tab - "Edit Snippet" of the post,
and Twitter description is left empty,
publish the post,
check meta settings twitter:description is set to "This is the beginning” - Given Meta description is left empty in Content optimization tab - "Edit Snippet" of post,
and content of post is empty,
and Twitter description is left empty,
and Facebook description is left empty,
check meta settings do not include “twitter:description" - Create new post with Meta description “Description”,
and Twitter description is left empty,
publish the post,
check Twitter description preview is set to “Description”,
check meta settings twitter:description is set to "Description” - Create new post with Meta description “Description”,
And Facebook description is filled with “Facebook description”
and Twitter description is filled with “Twitter description”,
publish the post,
check meta settings twitter:description is set to “Twitter description” - Create new post with Meta description “Description”,
And Facebook description is filled with “New one description”
and Twitter description is empty,
publish the post,
check meta settings twitter:description is set to “New one description” - Go to SEO - Search Appearance for Posts - Content types,
set Meta description to “Default test”,
create new post with title “Test post”,
check Twitter title preview is set to “Default test”,
publish post,
check meta settings twitter:description is set to “Default test”
Repeat the steps above for Page, Category and Tag
Perform all these tests in Premium plugin as well.
— Image —
- Given Image URL is empty in "SEO" - "Social" Facebook page,
and Facebook image is empty in Social - Facebook page of post,
and Twitter image is empty in Social - Facebook page of post,
and no image is presented within post
upload image to Image URL in "SEO" - "Social" Facebook page
publish post,
check meta settings of post contain:
meta property="twitter:image" content=<link_to_pic> - Given Image URL is empty in "SEO" - "Social" Facebook page,
and Facebook image is empty in Social - Facebook page of post,
and no image is presented within post,
upload image to Facebook image in Social - Facebook page of post,
publish post,
check meta settings of post contain:
meta property="twitter:image" content=<link_to_pic> - Given Image URL is empty in "SEO" - "Social" Facebook page,
and Facebook image is empty in Social - Facebook page of post,
and no image is presented within post,
upload image to the content of post,
publish post,
check meta settings of post contain:
meta property="twitter:image" content=<link_to_pic> - Given Image URL is set to <path_to_my_image1> in "SEO" - "Social" Facebook page,
and Facebook image is empty in Social - Facebook tab of post,
and Twitter image is empty in Social - Twitter tab of post,
and no image is presented within post,
upload image <path_to_my_image2> to Twitter image in Social - Twitter tab of post,
update post,
check meta settings of post contain:
meta name="twitter:image" content=<path_to_my_image2> - Given Image URL is set to <path_to_my_image1> in "SEO" - "Social" Facebook page,
and Twitter image is empty in Social - Facebook page of post,
and Homepage is set to Static,
and Facebook image is empty in Social - Facebook page of post,
no image is presented within Homepage,
upload an image <path_to_my_image2> in Social - Facebook page of Homepage,
update post,
check meta settings of my Homepage contain:
meta property="twitter:image" content=<path_to_my_image2> - Given Facebook image in Social - Facebook page of post is uploaded,
and Twitter image is empty in Social - Facebook page of post,
protect post with password,
check meta settings of post do not contain contain:
meta property="twitter:image" content=<link_to_pic> - Given Image URL is empty in "SEO" - "Social" Facebook page,
and Facebook image is empty in Social - Facebook page of post,
and Twitter image is empty in Social - Facebook page of post,
and no image is presented within post,
and no image is presented in Featured Image of post,
upload image in Featured Image of post,
update post,
check meta settings of post contain:
meta property="twitter:image" content=<path_to_my_image> - Given Frontpage Image URL is empty in "SEO" - "Social" Facebook page,
upload image to Frontpage settings in "SEO" - "Social" Facebook page,
and click "Save changes”,
check meta settings of Frontpage contain:
meta property="twitter:image" content=<path_to_my_image>
Repeat tests 1-4 and 6-7 for Pages.
Repeat tests 1-2 for Categories.
Repeat tests 1-2 for Tags.
Perform all these tests in Premium plugin as well.
Make additional checks for image within Premium preview in Premium plugin (and Free if it is included).
— Author name —
Check that Author name is parsed correctly in Twitter Preview.
Perform all these tests in Premium plugin as well.
— Site name —
Check that Site name is parsed correctly in Twitter Preview.
Perform all these tests in Premium plugin as well.
— Upgrade routine —
- Install last released plugin version,
fill in the whole information for Social preview for post,
publish post,
upgrade to new plugin version,
check Twitter title, description, image etc are still filled in correctly
Repeat the steps above for Page, Category and Tag
Perform all these tests in Premium plugin as well.
from javascript.
QA feedback:
there is one issue for Twitter, probably it can be fixed within this epic - Yoast/wordpress-seo#10839
from javascript.
Fixed elsewhere.
from javascript.
Related Issues (20)
- Question: Why don't all content analysis bullets show HOT 1
- Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory HOT 1
- How to localize? HOT 1
- authorName is null => Cannot read property 'length' of null HOT 1
- how to implement YoastSEO in a NextJS and headless CMS project?
- SEO results are not matching with online tool https://yoast.com/research/real-time-content-analysis/ HOT 2
- Create new monorepo RC when FRO-78 has been merged (team frontend will ping you)
- Create JS monorepo RC for 14.3
- Release JS monorepo for 14.2
- Create followup JS monorepo RCs for 14.3 after receiving Frontend ping
- Create JS monorepo RC for 14.4
- Create JS monorepo release for 14.3
- Merge feature/social-metadata-preview-reactification into develop
- JS repo release for 14.4
- JS repo RC for 14.5-RC1
- Position check in single h1 assessment creates problem with other systems than Wordpress HOT 1
- Error: Callback was already called.
- Error: Can't resolve '../../premium-configuration/data/morphologyData-ar-v9.json'
- Build size very large
- eslint config package does too much
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript.