change svg of other instrument icon
This commit is contained in:
parent
2d408eb3a7
commit
d4b412e223
|
|
@ -146,7 +146,7 @@ describe('Friends page with data', () => {
|
|||
closeSidePanel();
|
||||
});
|
||||
|
||||
it.only('click more button', () => {
|
||||
it('click more button', () => {
|
||||
//open side panel by clicking more button
|
||||
cy.get('[data-testid=peopleListTable] > tbody tr')
|
||||
.first()
|
||||
|
|
@ -207,7 +207,7 @@ describe('Friends page with data', () => {
|
|||
|
||||
});
|
||||
|
||||
describe.only('in mobile', () => {
|
||||
describe('in mobile', () => {
|
||||
beforeEach(() => {
|
||||
cy.viewport('iphone-6');
|
||||
});
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ function JKInstrumentIcon({instrumentId, instrumentName}) {
|
|||
try {
|
||||
file = require(`../../icons/instruments/icon_instrument_${instrumentId.replace(/\s+/g, '_')}.svg`);
|
||||
} catch (error) {
|
||||
file = require("../../icons/instruments/icon_instrument_unknown.svg");
|
||||
file = require("../../icons/instruments/icon_instrument_other.svg");
|
||||
}
|
||||
return <img width={25} height={25} src={file} alt={instrumentName} />
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue