Comments (3)
QA feedback:
The following use cases should be tested:
— Title —
- Create new post with title “Test post”,
check Facebook title preview is set to “Test post”,
publish post,
check meta settings og:title is set to “Test post” - Create new post with title “Test post”,
add Facebook title “Facebook test title” within your post,
save post,
check meta settings og:title is set to “Facebook test title” - Go to SEO - Search Appearance for Posts - Content types,
set SEO Title to "%%title%% %%sep%% %%sitename%% test”,
create new post with title “Test post”,
check Facebook title preview is set to “Test post - Local WordPress Dev test”,
publish post,
check meta settings og:title is set to “Test 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 Facebook description is left empty,
publish the post,
check meta settings og: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 Facebook description is left empty,
check meta settings do not include "og:description" - Create new post with Meta description “Description”,
and Facebook description is left empty,
publish the post,
check Facebook description preview is set to “Description”,
check meta settings og:description is set to "Description” - Create new post with Meta description “Description”,
and Facebook description is filled with “Facebook description”,
publish the post,
check meta settings og:description is set to “Facebook description” - Go to SEO - Search Appearance for Posts - Content types,
set Meta description to “Default test”,
create new post with title “Test post”,
check Facebook title preview is set to “Default test”,
publish post,
check meta settings og: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 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="og:image" content=<link_to_pic>
meta property="og:image:width" content="<pic_width>"
meta property="og:image:height" content="<pic_height>" - 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="og:image" content=<link_to_pic>
meta property="og:image:width" content="<pic_width>"
meta property="og:image:height" content="<pic_height>" - 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="og:image" content=<link_to_pic>
meta property="og:image:width" content="<pic_width>"
meta property="og:image:height" content="<pic_height>" - Given Image URL is set to <path_to_my_image1> in "SEO" - "Social" Facebook page,
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="og:image" content=<path_to_my_image2>
meta property="og:image:width" content="<width_of_my_image2>
meta property="og:image:height" content="<height_of_my_image2> - Given Facebook image in Social - Facebook page of post is uploaded,
protect post with password,
check meta settings of post do not contain contain:
meta property="og:image" content=<link_to_pic>
meta property="og:image:width" content=<pic_width>
meta property="og:image:height" content=<pic_height> - 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,
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="og:image" content=<path_to_my_image>
meta property="og:image:width" content=<pic_width>
meta property="og:image:height" content=<pic_height> - 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="og:image" content=<path_to_my_image>
meta property="og:image:width" content=<pic_width>
meta property="og:image:height" content=<pic_height>
Repeat tests 1-3 and 5-6 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 Facebook Preview.
Perform all these tests in Premium plugin as well.
— Site name —
Check that Site name is parsed correctly in Facebook 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 Facebook 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 Category, probably it can be fixed within this epic - Yoast/wordpress-seo#10839
from javascript.
A couple of extra things to note for the Facebook Description:
- Any HTML should get stripped.
- A fallback description should be used when the description is empty. Currently, we use the fallback:
Modify your Facebook description by editing it right here
. Of course, this should also be translated properly.
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.