Updated Reset result
This commit is contained in:
@@ -1604,7 +1604,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 1 content set label
|
||||
//Filtered Content 1 content set label
|
||||
{
|
||||
description: 'Validate Filtered Content 1 content set label',
|
||||
action: async () => {
|
||||
@@ -1640,7 +1640,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 1 view standards button icon
|
||||
//Filtered Content 1 view standards button icon
|
||||
{
|
||||
description: 'Verify Content 1 View Standards button icon is present',
|
||||
action: async () =>
|
||||
@@ -1652,7 +1652,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 1 view standards button text
|
||||
//Filtered Content 1 view standards button text
|
||||
{
|
||||
description: 'Validate Content 1 View Standards button text',
|
||||
action: async () => {
|
||||
@@ -1664,7 +1664,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 1 view standards button color -green
|
||||
//Filtered Content 1 view standards button color -green
|
||||
{
|
||||
description: 'Validate Content 1 view standards button color',
|
||||
action: async () => {
|
||||
@@ -1682,13 +1682,13 @@ const steps = [
|
||||
action: async () => {
|
||||
const elementText = await driver.findElement(By.linkText('Altered Elephant Behavior')).getText();
|
||||
if (elementText !== 'Altered Elephant Behavior') {
|
||||
throw new Error(`Expected: Filtered Content 1 item "Altered Elephant Behavior" title; Actual: "${elementText}"`);
|
||||
throw new Error(`Expected: Filtered Content 2 item "Altered Elephant Behavior" title; Actual: "${elementText}"`);
|
||||
}
|
||||
console.log('Passed: Filtered Content 1 item Altered Elephant Behavior tittle matched as expected');
|
||||
console.log('Passed: Filtered Content 2 item Altered Elephant Behavior tittle matched as expected');
|
||||
}
|
||||
},
|
||||
|
||||
//Content 2 edit icon
|
||||
//Filtered Content 2 edit icon
|
||||
{
|
||||
description: 'Verify Content 2 edit icon is present',
|
||||
action: async () =>
|
||||
@@ -1700,7 +1700,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 2 edit button text
|
||||
//Filtered Content 2 edit button text
|
||||
{
|
||||
description: 'Validate pagination Show All button text',
|
||||
action: async () => {
|
||||
@@ -1712,7 +1712,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 2 edit button color -green
|
||||
//Filtered Content 2 edit button color -green
|
||||
{
|
||||
description: 'Validate Content 2 Edit button color',
|
||||
action: async () => {
|
||||
@@ -1760,7 +1760,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 2 view standards button icon
|
||||
//Filtered Content 2 view standards button icon
|
||||
{
|
||||
description: 'Verify Content 2 View Standards button icon is present',
|
||||
action: async () =>
|
||||
@@ -1772,7 +1772,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 2 view standards button text
|
||||
//Filtered Content 2 view standards button text
|
||||
{
|
||||
description: 'Validate Content 2 View Standards button text',
|
||||
action: async () => {
|
||||
@@ -1784,7 +1784,7 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Content 2 view standards button color -green
|
||||
//Filtered Content 2 view standards button color -green
|
||||
{
|
||||
description: 'Validate Content 2 view standards button color',
|
||||
action: async () => {
|
||||
|
||||
Reference in New Issue
Block a user