Fix spaces test flakyness (#100605)
This commit is contained in:
parent
93acfb4d43
commit
5d5cc55b3a
|
@ -71,9 +71,6 @@ export class NavControlPopover extends Component<Props, State> {
|
|||
|
||||
public render() {
|
||||
const button = this.getActiveSpaceButton();
|
||||
if (!button) {
|
||||
return null;
|
||||
}
|
||||
|
||||
let element: React.ReactNode;
|
||||
if (!this.state.loading && this.state.spaces.length < 2) {
|
||||
|
@ -102,7 +99,7 @@ export class NavControlPopover extends Component<Props, State> {
|
|||
return (
|
||||
<EuiPopover
|
||||
id={'spcMenuPopover'}
|
||||
data-test-subj={`spacesNavSelector`}
|
||||
data-test-subj={`${this.state.loading ? 'spacesNavSelectorLoading' : 'spacesNavSelector'}`}
|
||||
button={button}
|
||||
isOpen={this.state.showSpaceSelector}
|
||||
closePopover={this.closeSpaceSelector}
|
||||
|
|
|
@ -14,8 +14,7 @@ export default function enterSpaceFunctonalTests({
|
|||
const esArchiver = getService('esArchiver');
|
||||
const PageObjects = getPageObjects(['security', 'spaceSelector']);
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/100012
|
||||
describe.skip('Enter Space', function () {
|
||||
describe('Enter Space', function () {
|
||||
this.tags('includeFirefox');
|
||||
before(async () => {
|
||||
await esArchiver.load('spaces/enter_space');
|
||||
|
|
|
@ -22,8 +22,7 @@ export default function spaceSelectorFunctionalTests({
|
|||
'spaceSelector',
|
||||
]);
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/99581
|
||||
describe.skip('Spaces', function () {
|
||||
describe('Spaces', function () {
|
||||
this.tags('includeFirefox');
|
||||
describe('Space Selector', () => {
|
||||
before(async () => {
|
||||
|
|
Loading…
Reference in a new issue