mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Use different Pokemon in tests to avoid failures
I would prefer if the test would still test if a mega gets an item, which is why Charizard-Mega-Y was picked. It's unlikely to be banned, but is powerful enough to stay in OU. A safer choice would be an Arceus, but there is no code yet that automatically gives a correct item to formes (may be worth fixing).
This commit is contained in:
parent
6d41edf277
commit
ccf4621c7d
|
|
@ -17,15 +17,15 @@ fixture('Pokemon Showdown')
|
|||
|
||||
const expectedTeam = `=== [gen7] Untitled 1 ===
|
||||
|
||||
Abomasnow-Mega @ Abomasite\x20\x20
|
||||
Ability: Snow Warning`;
|
||||
Charizard-Mega-Y @ Charizardite Y\x20\x20
|
||||
Ability: Drought`;
|
||||
|
||||
test('Teambuilder works', async t => {
|
||||
await t.click('[name="close"]')
|
||||
.click('[value="teambuilder"]')
|
||||
.click('[name="newTop"]')
|
||||
.click('[name="addPokemon"]')
|
||||
.click('[data-entry="pokemon|Abomasnow-Mega"]')
|
||||
.click('[data-entry="pokemon|Charizard-Mega-Y"]')
|
||||
.click('[name="back"]')
|
||||
.click('[name="back"]')
|
||||
.click('[name="backup"]');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user