created on Fri Nov 08 01:47:40 UTC 2019 by ?

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

19

100.0%

36.469 seconds

0

0

0

2. Features

2.1. Functionality of Component variant Default without included components in XS PASS

Result: PASS Time: 2.016 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details1"
def selectorContainer = "#contentblock1 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default without included components in XS The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Author: Max Barrass"
  • And Has Image with Page Image as Thumbnail from Uploaded Image

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Author: Max Barrass"
  • And Has Description line with content

1
assert $("${selector} div.description").text().trim() == "Adobe Practice lead for Isobar max.barrass@isobar.com"
  • And Has Description has field jobTitle

1
assert $("${selector} div.description [itemprop=jobTitle]").text().trim() == "Adobe Practice lead"
  • And Has Description has field employee

1
assert $("${selector} div.description [itemprop=employee]").text().trim() == "Isobar"
  • And Has Description has field email

1
assert $("${selector} div.description [itemprop=email]").text().trim() == "max.barrass@isobar.com"
  • Where:

2.2. Functionality of Component variant Default without included components in SM PASS

Result: PASS Time: 2.046 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details1"
def selectorContainer = "#contentblock1 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default without included components in SM The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Author: Max Barrass"
  • And Has Image with Page Image as Thumbnail from Uploaded Image

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Author: Max Barrass"
  • And Has Description line with content

1
assert $("${selector} div.description").text().trim() == "Adobe Practice lead for Isobar max.barrass@isobar.com"
  • And Has Description has field jobTitle

1
assert $("${selector} div.description [itemprop=jobTitle]").text().trim() == "Adobe Practice lead"
  • And Has Description has field employee

1
assert $("${selector} div.description [itemprop=employee]").text().trim() == "Isobar"
  • And Has Description has field email

1
assert $("${selector} div.description [itemprop=email]").text().trim() == "max.barrass@isobar.com"
  • Where:

2.3. Functionality of Component variant Default without included components in MD PASS

Result: PASS Time: 2.064 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details1"
def selectorContainer = "#contentblock1 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default without included components in MD The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Author: Max Barrass"
  • And Has Image with Page Image as Thumbnail from Uploaded Image

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Author: Max Barrass"
  • And Has Description line with content

1
assert $("${selector} div.description").text().trim() == "Adobe Practice lead for Isobar max.barrass@isobar.com"
  • And Has Description has field jobTitle

1
assert $("${selector} div.description [itemprop=jobTitle]").text().trim() == "Adobe Practice lead"
  • And Has Description has field employee

1
assert $("${selector} div.description [itemprop=employee]").text().trim() == "Isobar"
  • And Has Description has field email

1
assert $("${selector} div.description [itemprop=email]").text().trim() == "max.barrass@isobar.com"
  • Where:

2.4. Functionality of Component variant Default without included components in LG PASS

Result: PASS Time: 2.125 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details1"
def selectorContainer = "#contentblock1 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default without included components in LG The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Author: Max Barrass"
  • And Has Image with Page Image as Thumbnail from Uploaded Image

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Author: Max Barrass"
  • And Has Description line with content

1
assert $("${selector} div.description").text().trim() == "Adobe Practice lead for Isobar max.barrass@isobar.com"
  • And Has Description has field jobTitle

1
assert $("${selector} div.description [itemprop=jobTitle]").text().trim() == "Adobe Practice lead"
  • And Has Description has field employee

1
assert $("${selector} div.description [itemprop=employee]").text().trim() == "Isobar"
  • And Has Description has field email

1
assert $("${selector} div.description [itemprop=email]").text().trim() == "max.barrass@isobar.com"
  • Where:

2.5. Functionality of Component variant Default without included components in XLG PASS

Result: PASS Time: 2.275 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details1"
def selectorContainer = "#contentblock1 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default without included components in XLG The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Author: Max Barrass"
  • And Has Image with Page Image as Thumbnail from Uploaded Image

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Author: Max Barrass"
  • And Has Description line with content

1
assert $("${selector} div.description").text().trim() == "Adobe Practice lead for Isobar max.barrass@isobar.com"
  • And Has Description has field jobTitle

1
assert $("${selector} div.description [itemprop=jobTitle]").text().trim() == "Adobe Practice lead"
  • And Has Description has field employee

1
assert $("${selector} div.description [itemprop=employee]").text().trim() == "Isobar"
  • And Has Description has field email

1
assert $("${selector} div.description [itemprop=email]").text().trim() == "max.barrass@isobar.com"
  • Where:

2.6. Functionality of Component variant Default without included components in XXLG PASS

Result: PASS Time: 2.576 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details1"
def selectorContainer = "#contentblock1 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default without included components in XXLG The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Author: Max Barrass"
  • And Has Image with Page Image as Thumbnail from Uploaded Image

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Author: Max Barrass"
  • And Has Description line with content

1
assert $("${selector} div.description").text().trim() == "Adobe Practice lead for Isobar max.barrass@isobar.com"
  • And Has Description has field jobTitle

1
assert $("${selector} div.description [itemprop=jobTitle]").text().trim() == "Adobe Practice lead"
  • And Has Description has field employee

1
assert $("${selector} div.description [itemprop=employee]").text().trim() == "Isobar"
  • And Has Description has field email

1
assert $("${selector} div.description [itemprop=email]").text().trim() == "max.barrass@isobar.com"
  • Where:

2.7. Functionality of Component variant Default Blank without included components in XS PASS

Result: PASS Time: 1.800 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details2"
def selectorContainer = "#contentblock2 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default Blank without included components in XS The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Contact Details"
  • And Has Image with Page Image as Thumbnail

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Contact Details"
  • And Has Description should be empty

1
assert $("${selector} div.description").text().isEmpty()
  • Where:

2.8. Functionality of Component variant Default Blank without included components in SM PASS

Result: PASS Time: 1.801 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details2"
def selectorContainer = "#contentblock2 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default Blank without included components in SM The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Contact Details"
  • And Has Image with Page Image as Thumbnail

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Contact Details"
  • And Has Description should be empty

1
assert $("${selector} div.description").text().isEmpty()
  • Where:

2.9. Functionality of Component variant Default Blank without included components in MD PASS

Result: PASS Time: 1.850 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details2"
def selectorContainer = "#contentblock2 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default Blank without included components in MD The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Contact Details"
  • And Has Image with Page Image as Thumbnail

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Contact Details"
  • And Has Description should be empty

1
assert $("${selector} div.description").text().isEmpty()
  • Where:

2.10. Functionality of Component variant Default Blank without included components in LG PASS

Result: PASS Time: 1.956 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details2"
def selectorContainer = "#contentblock2 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default Blank without included components in LG The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Contact Details"
  • And Has Image with Page Image as Thumbnail

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Contact Details"
  • And Has Description should be empty

1
assert $("${selector} div.description").text().isEmpty()
  • Where:

2.11. Functionality of Component variant Default Blank without included components in XLG PASS

Result: PASS Time: 2.275 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details2"
def selectorContainer = "#contentblock2 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default Blank without included components in XLG The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Contact Details"
  • And Has Image with Page Image as Thumbnail

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Contact Details"
  • And Has Description should be empty

1
assert $("${selector} div.description").text().isEmpty()
  • Where:

2.12. Functionality of Component variant Default Blank without included components in XXLG PASS

Result: PASS Time: 2.461 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details2"
def selectorContainer = "#contentblock2 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Functionality of Component variant Default Blank without included components in XXLG The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • And Has Image with Alt Title

1
assert $("${selector} img").attr("alt").trim() == "Contact Details"
  • And Has Image with Page Image as Thumbnail

1
assert $("${selector} img").attr("src").contains("/content/aemdesign-showcase/au/en/component/details/contact-details.thumb.319.319.png")
  • And Has Title line with content

1
assert $("${selector} div.title").text().trim() == "Contact Details"
  • And Has Description should be empty

1
assert $("${selector} div.description").text().isEmpty()
  • Where:

2.13. Functionality of Component variant Hidden in XS PASS

Result: PASS Time: 1.133 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details3"
def selectorContainer = "#contentblock3 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Component should have no content

1
assert $("${selector}").text() == ""
  • Where:

2.14. Functionality of Component variant Hidden in SM PASS

Result: PASS Time: 1.169 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details3"
def selectorContainer = "#contentblock3 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Component should have no content

1
assert $("${selector}").text() == ""
  • Where:

2.15. Functionality of Component variant Hidden in MD PASS

Result: PASS Time: 1.211 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details3"
def selectorContainer = "#contentblock3 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Component should have no content

1
assert $("${selector}").text() == ""
  • Where:

2.16. Functionality of Component variant Hidden in LG PASS

Result: PASS Time: 1.400 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details3"
def selectorContainer = "#contentblock3 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Component should have no content

1
assert $("${selector}").text() == ""
  • Where:

2.17. Functionality of Component variant Hidden in XLG PASS

Result: PASS Time: 1.496 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details3"
def selectorContainer = "#contentblock3 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Component should have no content

1
assert $("${selector}").text() == ""
  • Where:

2.18. Functionality of Component variant Hidden in XXLG PASS

Result: PASS Time: 1.658 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contact-details3"
def selectorContainer = "#contentblock3 .contents"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Component should have no content

1
assert $("${selector}").text() == ""
  • Where:

2.19. Contact Details: Default metadata added to page PASS

Result: PASS Time: 1.543 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Contact Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contact-details"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Page has metadata field og:title

1
assert $("meta[property='og:title']").attr("content").equals("Contact Details")
  • And Page has metadata field og:type

1
assert $("meta[property='og:type']").attr("content").equals("article")
  • And Page has metadata field og:image

1
assert $("meta[property='og:image']").attr("content").contains("contact-details.thumb.")
  • And Page has metadata field og:url

1
assert $("meta[property='og:url']").attr("content").contains("details/contact-details.html")
  • And Page has canonical link

1
assert $("link[rel='canonical']").attr("href").contains("details/contact-details.html")