- Notifications
You must be signed in to change notification settings - Fork1.1k
Closed
Description
Overview of the problem
Buefy version: [0.9.25]
Vuejs version: [2.7.15]
OS/Browser: Windows10/Vivaldi
Description
It seems that Buefy creates two navbar-item element with the only difference is theis-hidden-touch
oris-hidden-desktop
classes
This cause an issue when getting tests to click the navbar-item as it duplicates the key
Steps to reproduce
1 - create a navbar with an attribute on its navbar-item:
<b-navbar-itemdata-test-id="localeHe"@click="switchLanguage">he</b-navbar-item>
Expected behavior
attribute exists only once in the DOM
Actual behavior
There is a duplicate navbar-item that looks almost exactly the same