Merge pull request #23848 from overleaf/dp-settings
Add initial components for new editor settings modal GitOrigin-RevId: e3eb511d2af9265e0fc1cf54178b3e2953717950
This commit is contained in:
committed by
Copybot
parent
d63221d8b6
commit
733bc26ed1
@@ -92,7 +92,7 @@ describe('<EditorLeftMenu />', function () {
|
||||
cy.findByLabelText('Main document')
|
||||
cy.findByLabelText('Spell check')
|
||||
cy.findByLabelText('Auto-complete')
|
||||
cy.findByLabelText('Auto-close Brackets')
|
||||
cy.findByLabelText('Auto-close brackets')
|
||||
cy.findByLabelText('Code check')
|
||||
cy.findByLabelText('Editor theme')
|
||||
cy.findByLabelText('Overall theme')
|
||||
@@ -886,7 +886,7 @@ describe('<EditorLeftMenu />', function () {
|
||||
cy.findByLabelText('Main document').should('not.exist')
|
||||
cy.findByLabelText('Spell check').should('not.exist')
|
||||
cy.findByLabelText('Auto-complete').should('not.exist')
|
||||
cy.findByLabelText('Auto-close Brackets').should('not.exist')
|
||||
cy.findByLabelText('Auto-close brackets').should('not.exist')
|
||||
cy.findByLabelText('Code check').should('not.exist')
|
||||
cy.findByLabelText('Editor theme').should('not.exist')
|
||||
cy.findByLabelText('Overall theme').should('not.exist')
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ describe('<SettingsAutoCloseBrackets />', function () {
|
||||
</EditorProviders>
|
||||
)
|
||||
|
||||
const select = screen.getByLabelText('Auto-close Brackets')
|
||||
const select = screen.getByLabelText('Auto-close brackets')
|
||||
|
||||
const optionOn = within(select).getByText('On')
|
||||
expect(optionOn.getAttribute('value')).to.equal('true')
|
||||
|
||||
Reference in New Issue
Block a user