From e06851685dd03216dd9a52b10ace57a128dcb3f0 Mon Sep 17 00:00:00 2001 From: Ari Date: Wed, 26 Feb 2020 15:25:43 -0800 Subject: [PATCH 1/3] Update READMEs --- README.md | 6 +----- tests/README.md | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d8361f6a2..94a7aa2ae 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,9 @@ The Creative Commons License Chooser is meant to help people learn about CC lice ## About Repository containing the source code for the new Creative Commons License Chooser. The new chooser is still in beta, and a beta deployment can be found [here](https://chooser-beta.creativecommons.org/). -This site is built using [Vue.js](https://vuejs.org/), [Bulma](https://bulma.io/), [Buefy](https://buefy.org/), and [Webpack](https://webpack.js.org/). +This site is built using [Vue.js](https://vuejs.org/) (and vue-cli), and [Buefy](https://buefy.org/), among other things. #### Roadmap -There is still some work to go before the new chooser is ready to replace the existing chooser. These tasks include: - - Improvments to the Chooser's UI - - Internationalization - - Infrastructural work (Setting up analytics, monitoring, error logging) Tasks, issues, and discussion related to the release of the new chooser are tracked with the [`Launch Milestone`](https://github.com/creativecommons/cc-chooser/milestone/1). diff --git a/tests/README.md b/tests/README.md index 8e29af0a2..eefc89210 100644 --- a/tests/README.md +++ b/tests/README.md @@ -8,12 +8,12 @@ This file will be used to document some useful commands and tips for tests. Also If you want to run only unit tests, use: ``` bash -$ npm run unit +$ npm run test:unit ``` If you want to run only e2e tests, use: ``` bash -$ npm run e2e +$ npm run test:e2e ``` ### About Snapshots Test From 29538528ce4cc0985cece66076063d9f7405bddd Mon Sep 17 00:00:00 2001 From: Ari Date: Wed, 26 Feb 2020 15:33:55 -0800 Subject: [PATCH 2/3] Remove Feedback, LicenseIconography components --- src/components/Feedback.vue | 57 ------------------------ src/components/HelpSection.vue | 8 ++-- src/components/LicenseIconography.vue | 62 --------------------------- 3 files changed, 5 insertions(+), 122 deletions(-) delete mode 100644 src/components/Feedback.vue delete mode 100644 src/components/LicenseIconography.vue diff --git a/src/components/Feedback.vue b/src/components/Feedback.vue deleted file mode 100644 index 6ed1d9a5d..000000000 --- a/src/components/Feedback.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - diff --git a/src/components/HelpSection.vue b/src/components/HelpSection.vue index cfdfb85fe..69a2c2823 100644 --- a/src/components/HelpSection.vue +++ b/src/components/HelpSection.vue @@ -162,7 +162,9 @@ {{$t('help.how-licenses-communicated.license-icons')}} - + + + @@ -183,7 +185,7 @@ From 402ca6925972b4ff53799e0421dc36e950570c32 Mon Sep 17 00:00:00 2001 From: Ari Date: Wed, 26 Feb 2020 15:35:38 -0800 Subject: [PATCH 3/3] Remove old unit and e2e tests --- tests/e2e/specs/CopyButton.js | 31 --- tests/e2e/specs/LicenseDescription.js | 59 ------ .../components/AttributionDetailsStep.spec.js | 44 ----- .../unit/specs/components/HelpSection.spec.js | 97 --------- .../specs/components/LicenseDropdown.spec.js | 55 ------ .../components/SelectedLicenseCode.spec.js | 132 ------------- .../components/SelectedLicenseInfo.spec.js | 45 ----- .../specs/components/SelectionStep.spec.js | 41 ---- .../AttributionDetailsStep.spec.js.snap | 42 ---- .../__snapshots__/HelpSection.spec.js.snap | 186 ------------------ .../SelectedLicenseCode.spec.js.snap | 36 ---- .../SelectedLicenseInfo.spec.js.snap | 16 -- .../__snapshots__/SelectionStep.spec.js.snap | 9 - 13 files changed, 793 deletions(-) delete mode 100644 tests/e2e/specs/CopyButton.js delete mode 100644 tests/e2e/specs/LicenseDescription.js delete mode 100644 tests/unit/specs/components/AttributionDetailsStep.spec.js delete mode 100644 tests/unit/specs/components/HelpSection.spec.js delete mode 100644 tests/unit/specs/components/LicenseDropdown.spec.js delete mode 100644 tests/unit/specs/components/SelectedLicenseCode.spec.js delete mode 100644 tests/unit/specs/components/SelectedLicenseInfo.spec.js delete mode 100644 tests/unit/specs/components/SelectionStep.spec.js delete mode 100644 tests/unit/specs/components/__snapshots__/AttributionDetailsStep.spec.js.snap delete mode 100644 tests/unit/specs/components/__snapshots__/HelpSection.spec.js.snap delete mode 100644 tests/unit/specs/components/__snapshots__/SelectedLicenseCode.spec.js.snap delete mode 100644 tests/unit/specs/components/__snapshots__/SelectedLicenseInfo.spec.js.snap delete mode 100644 tests/unit/specs/components/__snapshots__/SelectionStep.spec.js.snap diff --git a/tests/e2e/specs/CopyButton.js b/tests/e2e/specs/CopyButton.js deleted file mode 100644 index 479c2b904..000000000 --- a/tests/e2e/specs/CopyButton.js +++ /dev/null @@ -1,31 +0,0 @@ -const clipboardy = require('clipboardy') - -module.exports = { - 'Copybutton.vue - testing the #copy-richtext-btn flow': function(browser) { - browser - .init() - .waitForElementVisible('#app', 5000) - .assert.elementPresent('#copy-richtext-btn') - .assert.elementPresent('#attribution-richtext') - .click('#copy-richtext-btn') - .assert.containsText('#copy-richtext-btn', 'Copied!') - .getText('#attribution-richtext', function(result) { - this.assert.equal(result.value, clipboardy.readSync().trim()) - }) - .expect.element('#copy-richtext-btn').text.to.equal('Copy Rich Text').after(3000) - }, - - 'Copybutton.vue - testing the #copy-html-btn flow': function(browser) { - browser - .init() - .waitForElementVisible('#app', 5000) - .assert.elementPresent('#copy-html-btn') - .assert.elementPresent('#attribution-html') - .click('#copy-html-btn') - .assert.containsText('#copy-html-btn', 'Copied!') - .getValue('#attribution-html', function(result) { - this.assert.equal(result.value, clipboardy.readSync().trim()) - }) - .expect.element('#copy-html-btn').text.to.equal('Copy HTML').after(3000) - } -} diff --git a/tests/e2e/specs/LicenseDescription.js b/tests/e2e/specs/LicenseDescription.js deleted file mode 100644 index 3feade89f..000000000 --- a/tests/e2e/specs/LicenseDescription.js +++ /dev/null @@ -1,59 +0,0 @@ -module.exports = { - 'The section with information about the license has a title "Selected License "': function(browser) { - browser - .init() - .waitForElementVisible('#app', 5000) - .assert.elementPresent('.title') - .assert.containsText('h2', 'Selected License') - .assert.elementPresent('.help') - .end() - }, - - 'The license information about the CC BY 4.0 is shown by default when a user goes to the home page': function(browser) { - browser - .init() - .waitForElementVisible('#app', 5000) - .assert.elementPresent('.selected-license-name') - .assert.containsText('.help', 'Attribution 4.0 International') - .assert.containsText('#chooser-selected-share_adapt', 'CC BY means you allow people to') - .assert.elementPresent('#chooser-selected-description') - .assert.containsText('#chooser-selected-description', 'The CC BY license allows others to distribute, ' + - 'remix, adapt, and build upon your work, even commercially, as long as they credit you.') - .end() - }, - - 'click the chooser icon': function(browser) { - browser - .init() - .waitForElementVisible('#app', 5000) - .click('.sa') - .pause(1000) - .assert.containsText('.selected-license-name', 'CC BY-SA 4.0') - }, - - 'if the selected license is CC BY-SA 4.0, the license information is shown as expected': function(browser) { - browser - .assert.containsText('#chooser-selected-description', 'Similar to the CC BY license, BY-SA allows others' + - ' to distribute, remix, adapt, and build upon your work, even commercially, as long as they credit you for ' + - 'the original creation, and share the derivative work under the same license.') - .end() - }, - - 'click icon to select license': function(browser) { - browser - .init() - .waitForElementVisible('#app', 5000) - .click('.nd') - .pause(1000) - .assert.containsText('.selected-license-name', 'CC BY-ND 4.0') - }, - - 'if the selected license is CC BY-ND 4.0, the license information is shown as expected': function(browser) { - browser - .assert.containsText('#chooser-selected-description', 'BY-ND stipulates that people are free to ' + - 'distribute your work, even commercially, and must credit you, but they are not allowed to share ' + - 'any adaptations they make based on your work.') - .end() - } - -} diff --git a/tests/unit/specs/components/AttributionDetailsStep.spec.js b/tests/unit/specs/components/AttributionDetailsStep.spec.js deleted file mode 100644 index 2ef8e1132..000000000 --- a/tests/unit/specs/components/AttributionDetailsStep.spec.js +++ /dev/null @@ -1,44 +0,0 @@ -import { mount, createLocalVue, config } from '@vue/test-utils' -import AttributionDetailsStep from '@/components/AttributionDetailsStep' -import Buefy from 'buefy' -import LicenseUtilities from '@/utils/license-utilities' -import Vue from 'vue' -import VueI18n from 'vue-i18n' - -describe('AttributionDetailsStep.vue', () => { - let wrapper - - // Always creates a shallow instance of component - beforeEach(() => { - const localVue = createLocalVue() - localVue.use(Buefy) - localVue.use(LicenseUtilities) - Vue.use(VueI18n) - const messages = require('@/locales/en.json') - const i18n = new VueI18n({ - locale: 'en', - fallbackLocale: 'en', - messages: messages - }) - config.mocks.i18n = i18n - config.mocks.$t = (key) => { - return i18n.messages[key] - } - wrapper = mount(AttributionDetailsStep, { - localVue, - propsData: { - value: { - authorName: '', - workTitle: '', - workUrl: '', - sourceWorkUrl: '' - } - } - }) - }) - - // Snapshot tests - it('has the expected UI', () => { - expect(wrapper).toMatchSnapshot() - }) -}) diff --git a/tests/unit/specs/components/HelpSection.spec.js b/tests/unit/specs/components/HelpSection.spec.js deleted file mode 100644 index 64e5e99e8..000000000 --- a/tests/unit/specs/components/HelpSection.spec.js +++ /dev/null @@ -1,97 +0,0 @@ -import { shallowMount, createLocalVue, config } from '@vue/test-utils' -import HelpSection from '@/components/HelpSection' -import Buefy from 'buefy' -import LicenseUtilities from '@/utils/license-utilities' -import Vue from 'vue' -import VueI18n from 'vue-i18n' - -describe('HelpSection.vue', () => { - let wrapper - - // Always creates a shallow instance of component - beforeEach(() => { - const localVue = createLocalVue() - localVue.use(Buefy) - localVue.use(LicenseUtilities) - Vue.use(VueI18n) - const messages = require('@/locales/en.json') - const i18n = new VueI18n({ - locale: 'en', - fallbackLocale: 'en', - messages: messages - }) - config.mocks.i18n = i18n - config.mocks.$t = (key) => { - return i18n.messages[key] - } - wrapper = shallowMount(HelpSection, { - localVue - }) - }) - - // Snapshot tests - it('has the expected UI', () => { - expect(wrapper).toMatchSnapshot() - }) - - // Variables tests - it('equals isModal1Active to false', () => { - expect(wrapper.vm.isModal1Active).toEqual(false) - }) - - it('expects isModal1Active to be true after clicking it', () => { - const button = wrapper.find('#cc_license_btn') - button.trigger('click') - expect(wrapper.vm.isModal1Active).toEqual(true) - }) - - it('equals isModal2Active to false', () => { - expect(wrapper.vm.isModal2Active).toEqual(false) - }) - - it('expects isModal2Active to be true after clicking it', () => { - const button = wrapper.find('#license_work_btn') - button.trigger('click') - expect(wrapper.vm.isModal2Active).toEqual(true) - }) - - it('equals isModal3Active to false', () => { - expect(wrapper.vm.isModal3Active).toEqual(false) - }) - - it('expects isModal3Active to be true after clicking it', () => { - const button = wrapper.find('#icons_meaning_btn') - button.trigger('click') - expect(wrapper.vm.isModal3Active).toEqual(true) - }) - - it('equals isModal4Active to false', () => { - expect(wrapper.vm.isModal4Active).toEqual(false) - }) - - it('expects isModal4Active to be true after clicking it', () => { - const button = wrapper.find('#consideration_btn') - button.trigger('click') - expect(wrapper.vm.isModal4Active).toEqual(true) - }) - - it('equals isModal5Active to false', () => { - expect(wrapper.vm.isModal5Active).toEqual(false) - }) - - it('expects isModal5Active to be true after clicking it', () => { - const button = wrapper.find('#formal_license_btn') - button.trigger('click') - expect(wrapper.vm.isModal5Active).toEqual(true) - }) - - it('equals isModal6Active to false', () => { - expect(wrapper.vm.isModal6Active).toEqual(false) - }) - - it('expects isModal6Active to be true after clicking it', () => { - const button = wrapper.find('#license_description_btn') - button.trigger('click') - expect(wrapper.vm.isModal6Active).toEqual(true) - }) -}) diff --git a/tests/unit/specs/components/LicenseDropdown.spec.js b/tests/unit/specs/components/LicenseDropdown.spec.js deleted file mode 100644 index 00f0ace58..000000000 --- a/tests/unit/specs/components/LicenseDropdown.spec.js +++ /dev/null @@ -1,55 +0,0 @@ -import Vue from 'vue' -import VueI18n from 'vue-i18n' -import Buefy from 'buefy' -import { config, createLocalVue, mount } from '@vue/test-utils' -import LicenseUtilities from '@/utils/license-utilities' -import SelectedLicenseDropdown from '@/components/SelectedLicenseDropdown' - -const value = { - shortName: 'CC BY 4.0', - fullName: 'Attribution 4.0 International', - personalDetails: { - authorName: '', - workTitle: '', - workUrl: '', - sourceWorkUrl: '' - } -} - -describe('LicenseDropdown.vue', () => { - let wrapper - beforeEach(() => { - const localVue = createLocalVue() - localVue.use(Buefy) - localVue.use(LicenseUtilities) - Vue.use(VueI18n) - const messages = require('@/locales/en.json') - const i18n = new VueI18n({ - locale: 'en', - fallbackLocale: 'en', - messages: messages - }) - config.mocks.i18n = i18n - config.mocks.$t = (key) => { - return i18n.messages[key] - } - wrapper = mount(SelectedLicenseDropdown, { - localVue, - propsData: { - value: value - } - }) - }) - describe('correctly displays initial information and options when mounted', () => { - it('initializes with base license names', () => { - expect(wrapper.vm.$props.value.shortName).toEqual('CC BY 4.0') - expect(wrapper.vm.$props.value.fullName).toEqual('Attribution 4.0 International') - expect(wrapper.html()).toContain('CC BY 4.0') - expect(wrapper.findAll('option')).toHaveLength(7) - }) - it('calculate fullLicenseName correctly', () => { - wrapper.vm.value.shortName = 'CC BY-ND 4.0' - expect(wrapper.vm.fullLicenseName('CC BY-ND 4.0')).toEqual('Attribution-NoDerivatives 4.0 International') - }) - }) -}) diff --git a/tests/unit/specs/components/SelectedLicenseCode.spec.js b/tests/unit/specs/components/SelectedLicenseCode.spec.js deleted file mode 100644 index a49520e24..000000000 --- a/tests/unit/specs/components/SelectedLicenseCode.spec.js +++ /dev/null @@ -1,132 +0,0 @@ -import { mount, createLocalVue, config } from '@vue/test-utils' -import Buefy from 'buefy' -import SelectedLicenseCode from '@/components/SelectedLicenseCode' -import LicenseUtilities from '@/utils/license-utilities' -import Vue from 'vue' -import VueI18n from 'vue-i18n' - -const value = { - shortName: 'CC BY 4.0', - fullName: 'Attribution 4.0 International', - attributionDetails: { - creatorName: '', - creatorProfileUrl: '', - workTitle: '', - workUrl: '' - } -} - -// mock dom methods -function _mockDomMethodsForClipboardJS(value) { - window.getSelection = () => ({ - addRange: () => {}, - removeAllRanges: () => {}, - toString: () => value - }) - - document.execCommand = () => value - document.createRange = () => ({ selectNodeContents: () => { } }) -} - -describe('WebLicenseCode.vue', () => { - let wrapper - - beforeEach(() => { - const localVue = createLocalVue() - localVue.use(Buefy) - localVue.use(LicenseUtilities) - Vue.use(VueI18n) - const messages = require('@/locales/en.json') - const i18n = new VueI18n({ - locale: 'en', - fallbackLocale: 'en', - messages: messages - }) - - config.mocks.i18n = i18n - - config.mocks.$t = (key) => { - return i18n.messages[key] - } - - _mockDomMethodsForClipboardJS() - wrapper = mount(SelectedLicenseCode, { - localVue, - propsData: { - value: value - }, - attachToDocument: true - }) - }) - // Snapshot tests - it('has the expected UI', () => { - expect(wrapper).toMatchSnapshot() - }) - - // Tabs exist - it('has html, richtext and copy tabs', () => { - const tabs = wrapper.findAll('li') - expect(tabs.length).toEqual(3) - expect(tabs.at(0).classes()).toContain('is-active') - }) - - // Tabs change - it('Changes tabs on click', () => { - const tabsNav = wrapper.findAll('li') - // The tab label should equal 'Rich Text', but isn't because of i18n handling - // TODO: find a better way to test labels - expect(tabsNav.at(0).text()).toEqual('') - expect(wrapper.findAll('.is-active')).toHaveLength(1) - expect(tabsNav.at(0).classes()).toContain('is-active') - - const tabs = wrapper.findAll('.tab-item') - expect(tabs).toHaveLength(3) - expect(tabs.at(0).isVisible()).toBe(true) - expect(tabs.at(1).isVisible()).toBe(false) - - tabsNav.at(1).find('a').trigger('click') - expect(tabsNav.at(1).classes()).toContain('is-active') - expect(wrapper.findAll('.is-active')).toHaveLength(1) - expect(tabs.at(1).isVisible()).toBe(true) - - const copyBtn = tabsNav.at(2).find('a').find('span').find('a') - - copyBtn.trigger('click') - // The tab label should equal 'Copied!', but isn't because of i18n handling - expect(tabsNav.at(2).text()).toEqual('') - setTimeout(() => { - expect(wrapper.vm.currentTab).toEqual(1) - }, 2000) - }) - - // Test copying - it('Copies text from active tab', () => { - const copyLink = wrapper.findAll('li').at(2).find('a').find('span').find('a') - - expect(wrapper.vm.currentTab).toEqual(0) - expect(wrapper.vm.clipboardTarget()).toEqual('#attribution-richtext') - const htmlTab = wrapper.findAll('li').at(1).find('a') - htmlTab.trigger('click') - copyLink.trigger('click') - expect(wrapper.vm.clipboardTarget()).toEqual('#attribution-html') - expect(wrapper.vm.currentSelection).toEqual('html') - - const emittedEvents = wrapper.emitted() - expect(emittedEvents).toHaveProperty('copyFailed') - expect(emittedEvents.copyFailed.length).toBe(1) - }) - - // Test generated HTML - it('Generates correct license HTML', () => { - const generatedHtml = wrapper.find('#attribution-richtext') - expect(generatedHtml.text()).toContain('CC BY 4.0') - // check that icon links are correct - // There are two icons - CC & BY - expect(generatedHtml.findAll('img')).toHaveLength(2) - // There are three links: two icons and license name - expect(generatedHtml.findAll('a')).toHaveLength(1) - expect(generatedHtml.find('a').attributes('href')).toEqual('https://creativecommons.org/licenses/by/4.0/?ref=ccchooser') - // check that the text is correct - // check that changing fields generate correct texts - }) -}) diff --git a/tests/unit/specs/components/SelectedLicenseInfo.spec.js b/tests/unit/specs/components/SelectedLicenseInfo.spec.js deleted file mode 100644 index 0350859e1..000000000 --- a/tests/unit/specs/components/SelectedLicenseInfo.spec.js +++ /dev/null @@ -1,45 +0,0 @@ -import { shallowMount, createLocalVue, config } from '@vue/test-utils' -import SelectedLicenseInfo from '@/components/SelectedLicenseInfo' -import Buefy from 'buefy' -import LicenseUtilities from '@/utils/license-utilities' -import Vue from 'vue' -import VueI18n from 'vue-i18n' - -describe('SelectedLicenseInfo.vue', () => { - let wrapper - - // Always creates a shallow instance of component - beforeEach(() => { - const localVue = createLocalVue() - localVue.use(Buefy) - localVue.use(LicenseUtilities) - Vue.use(VueI18n) - const messages = require('@/locales/en.json') - const i18n = new VueI18n({ - locale: 'en', - fallbackLocale: 'en', - messages: messages - }) - - config.mocks.i18n = i18n - - config.mocks.$t = (key) => { - return i18n.messages[key] - } - - wrapper = shallowMount(SelectedLicenseInfo, { - localVue, - propsData: { - value: { - shortName: 'CC BY 4.0', - fullName: 'Attribution 4.0 International' - } - } - }) - }) - - // Snapshot tests - it('has the expected UI', () => { - expect(wrapper).toMatchSnapshot() - }) -}) diff --git a/tests/unit/specs/components/SelectionStep.spec.js b/tests/unit/specs/components/SelectionStep.spec.js deleted file mode 100644 index b99ffed58..000000000 --- a/tests/unit/specs/components/SelectionStep.spec.js +++ /dev/null @@ -1,41 +0,0 @@ -import { mount, createLocalVue, config } from '@vue/test-utils' -import SelectionStep from '@/components/SelectionStep' -import Buefy from 'buefy' -import LicenseUtilities from '@/utils/license-utilities' -import VueI18n from 'vue-i18n' - -describe('SelectionStep.vue', () => { - let wrapper - - beforeEach(() => { - const localVue = createLocalVue() - localVue.use(Buefy) - localVue.use(LicenseUtilities) - localVue.use(VueI18n) - - const i18n = new VueI18n({ - locale: 'en', - fallbackLocale: 'en', - messages: 'src/locales/en.json' - }) - - config.mocks.i18n = i18n - - config.mocks.$t = (key) => { - return i18n.t(key) - } - - wrapper = mount(SelectionStep, { - localVue, - propsData: { - selected: true, - stepId: 'by' - } - }) - }) - - // Snapshot tests - it('has the expected UI', () => { - expect(wrapper).toMatchSnapshot() - }) -}) diff --git a/tests/unit/specs/components/__snapshots__/AttributionDetailsStep.spec.js.snap b/tests/unit/specs/components/__snapshots__/AttributionDetailsStep.spec.js.snap deleted file mode 100644 index b50c03c84..000000000 --- a/tests/unit/specs/components/__snapshots__/AttributionDetailsStep.spec.js.snap +++ /dev/null @@ -1,42 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`AttributionDetailsStep.vue has the expected UI 1`] = ` -
-
- -
- - - -
- -
-
- -
- - - -
- -
-
- -
- - - -
- -
-
- -
- - - -
- -
-
-`; diff --git a/tests/unit/specs/components/__snapshots__/HelpSection.spec.js.snap b/tests/unit/specs/components/__snapshots__/HelpSection.spec.js.snap deleted file mode 100644 index e8887a92e..000000000 --- a/tests/unit/specs/components/__snapshots__/HelpSection.spec.js.snap +++ /dev/null @@ -1,186 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`HelpSection.vue has the expected UI 1`] = ` -
-

Confused? Need Help?

-

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-`; diff --git a/tests/unit/specs/components/__snapshots__/SelectedLicenseCode.spec.js.snap b/tests/unit/specs/components/__snapshots__/SelectedLicenseCode.spec.js.snap deleted file mode 100644 index 157e6aba5..000000000 --- a/tests/unit/specs/components/__snapshots__/SelectedLicenseCode.spec.js.snap +++ /dev/null @@ -1,36 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`SelectedLicenseCode.vue has the expected UI 1`] = ` -
-

-

-
- -
-
-
-

undefinedCC BY 4.0

-
-
- - -
-
-

- -

-
-`; diff --git a/tests/unit/specs/components/__snapshots__/SelectedLicenseInfo.spec.js.snap b/tests/unit/specs/components/__snapshots__/SelectedLicenseInfo.spec.js.snap deleted file mode 100644 index 34ca94ded..000000000 --- a/tests/unit/specs/components/__snapshots__/SelectedLicenseInfo.spec.js.snap +++ /dev/null @@ -1,16 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`SelectedLicenseInfo.vue has the expected UI 1`] = ` -
-

Attribution 4.0 International

-

CC BY

-
-
  • - -
-
-

-

-
-
-`; diff --git a/tests/unit/specs/components/__snapshots__/SelectionStep.spec.js.snap b/tests/unit/specs/components/__snapshots__/SelectionStep.spec.js.snap deleted file mode 100644 index 18c72d295..000000000 --- a/tests/unit/specs/components/__snapshots__/SelectionStep.spec.js.snap +++ /dev/null @@ -1,9 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`SelectionStep.vue has the expected UI 1`] = ` -
-

stepper.by.question

-
-
-
-`;