Skip to content

Commit

Permalink
Revert "Multiedit e2e tests (superdesk#4464)"
Browse files Browse the repository at this point in the history
This reverts commit 8e04663.
  • Loading branch information
tomaskikutis committed Aug 9, 2024
1 parent 8e04663 commit efcc484
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 116 deletions.
84 changes: 0 additions & 84 deletions e2e/client/playwright/multiedit.spec.ts

This file was deleted.

9 changes: 0 additions & 9 deletions e2e/client/playwright/page-object-models/monitoring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ export class Monitoring {
.click();
}

async executeBulkAction(action: string, articleNames: Array<string>): Promise<void> {
for (const selectedArticle of articleNames) {
await this.page.locator(s(`article-item=${selectedArticle}`, 'item-type-and-multi-select')).hover();
await this.page.locator(s(`article-item=${selectedArticle}`, 'multi-select-checkbox')).check();
}

await this.page.locator(s('multi-action-bar', 'multi-actions-inline', action)).click();
}

async createArticleFromTemplate(template: string, options?: {slugline?:string, body_html?: string}): Promise<void> {
await this.page.locator(s('content-create')).click();
await this.page.locator(s('content-create-dropdown')).getByRole('button', {name: 'More Templates...'}).click();
Expand Down
19 changes: 0 additions & 19 deletions e2e/client/playwright/page-object-models/multiedit.ts

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/apps/authoring/multiedit/views/multiedit.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="subnav subnav--top" data-test-id="multiedit-subnav">
<div class="subnav subnav--top">
<h2 class="page-nav-title" translate>Multiedit</h2>
<button class="btn btn--hollow sd-margin-end--1" ng-click="closeMulti()" translate>Exit</button>
</div>
<div class="multiedit-screen main-section" data-test-id="multiedit-screen">
<div class="multiedit-screen main-section">
<div class="boards-list">
<div ng-repeat="board in boards"
class="board"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<article class="main-article" tabindex="0" ng-class="{locked: isLocked}" data-test-id="multiedit-article" data-test-value="{{item.slugline}}">
<article class="main-article" tabindex="0" ng-class="{locked: isLocked}">
<div class="main-article__form">
<div class="main-article__editbar">
<button class="btn btn--hollow main-article__editbar-button"
Expand Down
2 changes: 1 addition & 1 deletion scripts/apps/search/views/multi-action-bar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="multi-action-bar" ng-if="multi.count && display" data-test-id="multi-action-bar">
<div class="multi-action-bar" ng-if="multi.count && display">
<button class="btn btn--hollow btn--icon-only btn--icon-only-circle me-1" ng-click="toggleDisplay()"><i class="icon-chevron-up-thin"></i></button>
<button class="btn" ng-click="multi.reset()">cancel</button>
<span id="multi-select-count"
Expand Down

0 comments on commit efcc484

Please sign in to comment.