Skip to content

Commit b923efc

Browse files
Remove some more relevant portions of code
1 parent 9ff24f2 commit b923efc

File tree

5 files changed

+0
-19
lines changed

5 files changed

+0
-19
lines changed

packages/app/cypress/component/support/ctSupport.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const createEventManager = () => {
2626
null, // packages/driver, not needed for CT tests
2727
// @ts-ignore
2828
null, // MobX, also not needed in Vue CT tests,
29-
null, // selectorPlaygroundModel,
3029
StubWebsocket,
3130
)
3231
}

packages/app/cypress/e2e/cypress-in-cypress-run-mode.cy.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ describe('Cypress In Cypress - run mode', { viewportWidth: 1200 }, () => {
1212
cy.waitForSpecToFinish()
1313

1414
cy.findByTestId('aut-url').should('be.visible')
15-
cy.findByTestId('playground-activator').should('not.exist')
1615

1716
cy.findByLabelText('Stats').within(() => {
1817
cy.get('.passed .num', { timeout: 10000 }).should('have.text', '1')
@@ -41,7 +40,6 @@ describe('Cypress In Cypress - run mode', { viewportWidth: 1200 }, () => {
4140

4241
cy.waitForSpecToFinish()
4342
cy.findByTestId('aut-url').contains('URL navigation disabled in component testing').should('be.visible')
44-
cy.findByTestId('playground-activator').should('not.exist')
4543

4644
cy.findByLabelText('Stats').within(() => {
4745
cy.get('.passed .num', { timeout: 10000 }).should('have.text', '1')

packages/app/src/runner/SpecRunnerHeaderOpenMode.cy.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ describe('SpecRunnerHeaderOpenMode', { viewportHeight: 500 }, () => {
3939
cy.findByTestId('viewport-size').should('be.visible').contains('500x500')
4040
})
4141

42-
// SelectorPlayground has been removed - all related tests removed
43-
4442
describe('url input', () => {
4543
it('shows url if currentTestingType is e2e', () => {
4644
const autStore = useAutStore()
@@ -177,7 +175,6 @@ describe('SpecRunnerHeaderOpenMode', { viewportHeight: 500 }, () => {
177175
},
178176
})
179177

180-
// SelectorPlayground button has been removed
181178
cy.findByTestId('aut-url-input').should('have.prop', 'readOnly', true)
182179
cy.findByTestId('aut-url-input').should('have.prop', 'placeholder', 'URL navigation disabled in component testing')
183180
cy.findByTestId('viewport-size').should('be.visible').contains('500x500')

packages/app/src/runner/SpecRunnerHeaderRunMode.cy.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ describe('SpecRunnerHeaderRunMode', { viewportHeight: 500 }, () => {
2626
cy.get('[data-cy="select-browser"]')
2727
.find('title').should('have.text', 'Chrome 1')
2828

29-
cy.get('[data-cy="playground-activator"]').should('not.exist')
3029
// confirm expected content is rendered
3130
cy.contains('1000x660').should('be.visible')
3231
cy.contains('40%').should('be.visible')
@@ -56,7 +55,6 @@ describe('SpecRunnerHeaderRunMode', { viewportHeight: 500 }, () => {
5655

5756
cy.contains('URL navigation disabled in component testing').should('be.visible')
5857

59-
cy.get('[data-cy="playground-activator"]').should('not.exist')
6058
// confirm expected content is rendered
6159
cy.contains('500x500').should('be.visible')
6260
cy.contains('40%').should('be.visible')

packages/frontend-shared/src/locales/en-US.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -963,17 +963,6 @@
963963
"defaultTitle": "DOM snapshot",
964964
"pinnedTitle": "Pinned"
965965
},
966-
"selectorPlayground": {
967-
"matches": "No matches | {n} match | {n} matches",
968-
"playgroundTooltip": "Click an element to see a suggested selector",
969-
"copyTooltip": "Copy to clipboard",
970-
"copyTooltipAction": "Copied!",
971-
"printTooltip": "Print to console",
972-
"printTooltipAction": "Printed!",
973-
"invalidSelector": "Invalid",
974-
"selectorMethodsLabel": "Selector methods",
975-
"toggle": "Toggle playground"
976-
},
977966
"automation": {
978967
"disconnected": {
979968
"title": "The Cypress extension has disconnected.",

0 commit comments

Comments
 (0)