Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Jan 16, 2024
1 parent bd1c740 commit 7a0e4ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/e2e/measurement.e2e.cy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { failedAccountMetadata } from '/cypress/mocks/handlers'

describe('Measurement Page Tests', () => {

Expand Down Expand Up @@ -217,7 +216,7 @@ describe('Measurement Page Tests', () => {
it('renders a valid og:description', () => {
cy.visit('/m/20221110105942.212061_TR_httpinvalidrequestline_f99ce62beb3badb9')
cy.get('head meta[property="og:description"]')
.should('have.attr', 'content', 'OONI data suggests Network traffic manipulation was not detected in Turkey on November 10, 2022 at 10:59:36 AM UTC, find more open data on internet censorship on OONI Explorer.')
.should('have.attr', 'content', 'OONI data suggests Network traffic manipulation was not detected in Türkiye on November 10, 2022 at 10:59:36 AM UTC, find more open data on internet censorship on OONI Explorer.')
})
it('render an anomaly og:description', () => {
cy.visit('/m/20221110105947.714767_US_httpinvalidrequestline_48ce6c10181803ab')
Expand Down

0 comments on commit 7a0e4ed

Please sign in to comment.