From 065446f64fd5209ea46cf32ec4ae0f2a10751551 Mon Sep 17 00:00:00 2001 From: Brian Mann Date: Wed, 7 Apr 2021 08:58:51 -0400 Subject: [PATCH] fix: make "New Spec File" a button link style (#15835) --- packages/desktop-gui/src/specs/specs-list.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/desktop-gui/src/specs/specs-list.jsx b/packages/desktop-gui/src/specs/specs-list.jsx index 804c2b531013..03b3f8329364 100644 --- a/packages/desktop-gui/src/specs/specs-list.jsx +++ b/packages/desktop-gui/src/specs/specs-list.jsx @@ -151,7 +151,7 @@ class SpecsList extends Component {
- +
{this._specsList()} @@ -289,7 +289,7 @@ class SpecsList extends Component { specsStore.toggleExpandSpecFolder(specFolderPath) } - _createNewFile (e) { + _createNewFile = (e) => { e.preventDefault() e.stopPropagation() @@ -405,7 +405,7 @@ class SpecsList extends Component {
No files found in - + {this.props.project.integrationFolder}
@@ -425,7 +425,7 @@ class SpecsList extends Component {

We've created some sample tests around key Cypress concepts. Run the first one or create your own test file.

How to write tests

- +
) } @@ -440,7 +440,7 @@ class SpecsList extends Component { ) } - _openIntegrationFolder () { + _openIntegrationFolder = () => { ipc.openFinder(this.props.project.integrationFolder) } @@ -449,7 +449,7 @@ class SpecsList extends Component { ipc.externalOpen('https://on.cypress.io/writing-first-test') } - _removeFirstTestBanner () { + _removeFirstTestBanner = () => { this.setState({ firstTestBannerDismissed: true }) } }