Skip to content

Commit

Permalink
Revert "skipping 11 tests"
Browse files Browse the repository at this point in the history
This reverts commit 440ba79.
  • Loading branch information
makemp committed Nov 6, 2023
1 parent f0d7ac8 commit d588b32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
5 changes: 2 additions & 3 deletions tests/acceptance/marketing/travisci-vs-jenkins-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
SALES_CONTACT_FORM_CONTAINER,
SALES_CONTACT_IFRAME
} from 'travis/tests/helpers/selectors';
import {skip} from "ember-qunit/addon-test-support/qunit";

// Main page
export const PAGE_URL = '/travisci-vs-jenkins';
Expand Down Expand Up @@ -79,7 +78,7 @@ module('Acceptance | travis vs jenkins page', function (hooks) {
await visit(PAGE_URL);
});

skip('page structure', async function (assert) {
test('page structure', async function (assert) {
assert.equal(currentURL(), PAGE_URL);

assert.dom(HEADER_TITLE).exists();
Expand All @@ -105,7 +104,7 @@ module('Acceptance | travis vs jenkins page', function (hooks) {
percySnapshot(assert);
});

skip('thanks page structure', async function (assert) {
test('thanks page structure', async function (assert) {
await visit(THANKS_URL);

checkThanksPageUrlAndContent(assert);
Expand Down
17 changes: 8 additions & 9 deletions tests/acceptance/plans-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { percySnapshot } from 'ember-percy';
import plansPage from 'travis/tests/pages/plans';
import { setupMirage } from 'ember-cli-mirage/test-support';
import config from 'travis/config/environment';
import {skip} from "ember-qunit/addon-test-support/qunit";

module('Acceptance | plans page', function (hooks) {
setupApplicationTestCustom(hooks);
Expand All @@ -22,7 +21,7 @@ module('Acceptance | plans page', function (hooks) {
percySnapshot(assert);
});

skip('header section structure', async function (assert) {
test('header section structure', async function (assert) {
const { headerSection } = plansPage;
const { title, body } = headerSection;

Expand All @@ -31,7 +30,7 @@ module('Acceptance | plans page', function (hooks) {
assert.ok(body.isPresent);
});

skip('product section structure', async function (assert) {
test('product section structure', async function (assert) {
const { productSection } = plansPage;
const { list } = productSection;

Expand All @@ -40,13 +39,13 @@ module('Acceptance | plans page', function (hooks) {
assert.equal(list.items.length, 4);
});

skip('oss section structure', async function (assert) {
test('oss section structure', async function (assert) {
const { ossSection } = plansPage;

assert.ok(ossSection.isPresent);
});

skip('contact section structure', async function (assert) {
test('contact section structure', async function (assert) {
const { contactSection } = plansPage;
const { form } = contactSection;
const { iframe } = form;
Expand All @@ -55,15 +54,15 @@ module('Acceptance | plans page', function (hooks) {
assert.equal(iframe.src, config.urls.pardotHost + config.urls.pardotForm);
});

skip('enterprise section structure', async function (assert) {
test('enterprise section structure', async function (assert) {
const { enterpriseSection } = plansPage;
const { button } = enterpriseSection;

assert.ok(enterpriseSection.isPresent);
assert.ok(button.isPresent);
});

skip('faq section structure', async function (assert) {
test('faq section structure', async function (assert) {
const { faqSection } = plansPage;
const { list } = faqSection;

Expand All @@ -72,15 +71,15 @@ module('Acceptance | plans page', function (hooks) {
assert.equal(list.items.length, 8);
});

skip('message section structure', async function (assert) {
test('message section structure', async function (assert) {
const { messageSection } = plansPage;
const { button } = messageSection;

assert.ok(messageSection.isPresent);
assert.ok(button.isPresent);
});

skip('thanks page displays', async function (assert) {
test('thanks page displays', async function (assert) {
await plansPage.visitThanks();
assert.equal(currentURL(), '/plans/thank-you');

Expand Down

0 comments on commit d588b32

Please sign in to comment.