mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 08:57:35 -02:30
Remove duplicate schedule tab
This commit is contained in:
@@ -126,10 +126,6 @@ class Template extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tabsArray.push(
|
tabsArray.push(
|
||||||
{
|
|
||||||
name: i18n._(t`Schedules`),
|
|
||||||
link: `${match.url}/schedules`,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: i18n._(t`Completed Jobs`),
|
name: i18n._(t`Completed Jobs`),
|
||||||
link: `${match.url}/completed_jobs`,
|
link: `${match.url}/completed_jobs`,
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ describe('<Template />', () => {
|
|||||||
const tabs = await waitForElement(
|
const tabs = await waitForElement(
|
||||||
wrapper,
|
wrapper,
|
||||||
'.pf-c-tabs__item',
|
'.pf-c-tabs__item',
|
||||||
el => el.length === 7
|
el => el.length === 6
|
||||||
);
|
);
|
||||||
expect(tabs.at(2).text()).toEqual('Notifications');
|
expect(tabs.at(2).text()).toEqual('Notifications');
|
||||||
done();
|
done();
|
||||||
|
|||||||
Reference in New Issue
Block a user