Skip to content

Commit

Permalink
Show title attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Aug 9, 2023
1 parent 5820390 commit 3062cb1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions static/tests/frontend/specs/comment_l10n.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,10 @@ const changeEtherpadLanguageTo = async (lang) => {
// hide settings again
$settingsButton.click();

const $boldButton = chrome$('.buttonicon-bold').parent();
console.log($boldButton[0].title);
await helper.waitForPromise(
() => {
console.log(chrome$('.buttonicon-bold').parent()[0].title);
return chrome$('.buttonicon-bold').parent()[0].title === boldTitles[lang];
});
() => chrome$('.buttonicon-bold').parent()[0].title === boldTitles[lang]);
};

const getCommentId = () => {
Expand Down

0 comments on commit 3062cb1

Please sign in to comment.