File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
apps/remix-ide-e2e/src/tests
libs/remix-ui/tabs/src/lib Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2
2
import { NightwatchBrowser } from 'nightwatch'
3
3
4
4
5
- module . exports = {
5
+ const tests = {
6
6
'@disabled' : true ,
7
7
'Should load the testmigration url #group1' : function ( browser : NightwatchBrowser ) {
8
8
browser . url ( 'http://127.0.0.1:8080?e2e_testmigration=true' )
@@ -137,3 +137,11 @@ module.exports = {
137
137
} ,
138
138
139
139
}
140
+
141
+ const isFirefox = browser . options . desiredCapabilities ?. browserName === 'firefox'
142
+
143
+ if ( isFirefox ) {
144
+ module . exports = tests
145
+ } else {
146
+ module . exports = { }
147
+ }
Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ export const TabsUI = (props: TabsUIProps) => {
162
162
163
163
const active = ( ) => {
164
164
if ( currentIndexRef . current < 0 ) return ''
165
+ if ( ! tabs . current [ currentIndexRef . current ] ) return ''
165
166
return tabs . current [ currentIndexRef . current ] . name
166
167
}
167
168
You can’t perform that action at this time.
0 commit comments