Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion cypress/e2e/public-surface-coherence.cy.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
describe('public surface coherence', () => {
it('offers CLI and Desktop as equal local entry paths before Cloud', () => {
it('recommends Desktop first and preserves the CLI developer path', () => {
cy.visit('/start')

cy.get('[role="list"][aria-label="Local ways to run OpenAdapt"]')
.find('[role="listitem"]')
.should('have.length', 2)
.first()
.should('have.attr', 'data-testid', 'desktop-first-workflow')
cy.get('[data-testid="local-desktop-download"]').should(
'have.attr',
'href',
'/download#desktop-builds'
)
cy.get('[data-testid="cli-installation-check"]')
.should('be.visible')
.find('button[aria-label="Copy openadapt quickstart"]')
.should('be.visible')
cy.get('[data-testid="local-cli-walkthrough"]').should(
'have.attr',
'href',
Expand Down
Loading
Loading