replacing getByLabel with getByToken