|
|
@@ -1,4 +1,5 @@
|
|
|
import StartFreeTrialButton from '../../../../frontend/js/shared/components/start-free-trial-button'
|
|
|
+import getMeta from '@/utils/meta'
|
|
|
|
|
|
describe('start free trial button', function () {
|
|
|
beforeEach(function () {
|
|
|
@@ -8,6 +9,8 @@ describe('start free trial button', function () {
|
|
|
cy.intercept('POST', '/event/paywall-click', {
|
|
|
statusCode: 204,
|
|
|
}).as('event-paywall-click')
|
|
|
+
|
|
|
+ getMeta('ol-ExposedSettings').isOverleaf = true
|
|
|
})
|
|
|
|
|
|
it('renders the button with default text', function () {
|