mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +00:00
chore: selectors refactor in SQLLab test suite (Cypress) (#10944)
* changed selectors for not skipped tests in sqllab suite * linter fixes * linter fixes
This commit is contained in:
committed by
GitHub
parent
a8f5029cb1
commit
dc893fe1b3
@@ -312,6 +312,7 @@ class TabbedSqlEditors extends React.PureComponent {
|
||||
<>
|
||||
{isSelected && (
|
||||
<DropdownButton
|
||||
data-test="dropdown-toggle-button"
|
||||
bsSize="small"
|
||||
id={`ddbtn-tab-${i}`}
|
||||
title={' '}
|
||||
@@ -321,6 +322,7 @@ class TabbedSqlEditors extends React.PureComponent {
|
||||
className="close-btn"
|
||||
eventKey="1"
|
||||
onClick={() => this.removeQueryEditor(qe)}
|
||||
data-test="close-tab-menu-option"
|
||||
>
|
||||
<div className="icon-container">
|
||||
<i className="fa fa-close" />
|
||||
@@ -396,12 +398,13 @@ class TabbedSqlEditors extends React.PureComponent {
|
||||
onSelect={this.handleSelect.bind(this)}
|
||||
id="a11y-query-editor-tabs"
|
||||
className="SqlEditorTabs"
|
||||
data-test="sql-editor-tabs"
|
||||
>
|
||||
{editors}
|
||||
<Tab
|
||||
title={
|
||||
<div>
|
||||
<i className="fa fa-plus-circle" />
|
||||
<i data-test="add-tab-icon" className="fa fa-plus-circle" />
|
||||
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user