Andrea Grandi 🦕 on Nostr: One thing I struggle with #Playwright is the possibility to reuse steps. Yes, I do ...
One thing I struggle with #Playwright is the possibility to reuse steps.
Yes, I do use fixtures, a lot, and I reuse a lot of code with this, but often all I need would be to reuse existing steps to combine existing flows in a different way.
With behave (which I'm migrating away from) it was much easier to reuse an existing step.
Has anyone solved this issue yet?
#Python #testing #integration
Published at
2024-08-09 13:02:13Event JSON
{
"id": "dcc652ec335f38380d9ca0eb8f55e09d141dc3d6b3c918ee0a8df8ae0b1df9b7",
"pubkey": "3c88eb7b20f68cfb93f2182efaefab0ba5f724cb8f6accdd78c140b220fdfca2",
"created_at": 1723208533,
"kind": 1,
"tags": [
[
"t",
"testing"
],
[
"t",
"playwright"
],
[
"t",
"integration"
],
[
"proxy",
"https://mastodon.social/@andreagrandi/112932194429118782",
"web"
],
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/users/andreagrandi/statuses/112932194429118782",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/andreagrandi/statuses/112932194429118782",
"pink.momostr"
],
[
"-"
]
],
"content": "One thing I struggle with #Playwright is the possibility to reuse steps.\n\nYes, I do use fixtures, a lot, and I reuse a lot of code with this, but often all I need would be to reuse existing steps to combine existing flows in a different way.\n\nWith behave (which I'm migrating away from) it was much easier to reuse an existing step.\n\nHas anyone solved this issue yet?\n\n#Python #testing #integration",
"sig": "2b399fba672cd5f353ab9d02b7c4572ef6fd55c01c97054fe970c4c3ddb774213cbed050ea10109b478a73e2535e44c11b0b3430656064f7852ac1910e678048"
}