fix: reflect namespace change volume-detail-test

This commit is contained in:
Michael Klein 2022-02-17 15:20:11 +01:00
parent 0f07af68cc
commit 8c4bbdb38c

View file

@ -244,7 +244,7 @@ module('Acceptance | volume detail (with namespaces)', function (hooks) {
});
test('/csi/volumes/:id detail ribbon includes the namespace of the volume', async function (assert) {
await VolumeDetail.visit({ id: volume.id, namespace: volume.namespaceId });
await VolumeDetail.visit({ id: `${volume.id}@${volume.namespaceId}` });
assert.ok(VolumeDetail.hasNamespace);
assert.ok(VolumeDetail.namespace.includes(volume.namespaceId || 'default'));