const { WEB_ORIGIN } = require('../constants')

module.exports = {
  before: function (browser) {
      browser
        .url(`${WEB_ORIGIN}/`)

  },
  'Queue Modal': function (browser) {
    browser
      
      .click(`.mp-header__queue`)
      .waitForElementWithText(`.media-list__container:nth-child(2) .media-list__item .media-list-item-a__title`, `Amet aliquam id diam maecenas ultricies mi eget.`)

      .waitForElementWithText(`.scrollable-area div[data-rbd-draggable-id="secondary-item-1"] .media-list-item-a__title`,`Ornare aenean euismod elementum nisi quis eleifend quam adipiscing vitae.`)
      
      .click(`.queue-modal-header__edit .btn.btn-secondary`)

      .click(`.scrollable-area div[data-rbd-draggable-id="secondary-item-1"] .media-list-right__remove`)

      .waitForElementWithText(`.scrollable-area div[data-rbd-draggable-id="secondary-item-1"] .media-list-item-a__title`,`Egestas egestas fringilla phasellus faucibus.`)

  },
  after: function (browser) {
      browser.end()
  }
}

@@ -898,52 +898,67 @@
 e%60,%60
-Egestas egestas fringilla phasellus faucibus
+Lacus sed turpis tincidunt id aliquet risus feugiat in ante
 .%60)%0A

Update queue-modal.js