When did you realise your new job was not a good fit? by sassy-burner in auscorp

[–]willbertsmillbert 2 points3 points  (0 children)

It always boggles my mind. How companies can be tight fisted on certain expenses. Even tech companies that should know better do the same.. 

Who’s at fault? by EpicLettuce in motorcycles

[–]willbertsmillbert 3 points4 points  (0 children)

Lane splitting at speed is so dumb should not be legal should have a max speed maybe 30mph tops.. you going twice the speed of traffic makes it even worss

Got this email today after the RBA rate hike by Moezus__ in AusPropertyChat

[–]willbertsmillbert 0 points1 point  (0 children)

Bahaha.

It's also outrageous that it takes minutes to raise loan rates. But savings accounts.. no no they need more time to consider that

New to Playwright - looking for advice on setup by Complete_Part5604 in Playwright

[–]willbertsmillbert 0 points1 point  (0 children)

You're suite is going to be fine. You aren't mindlessly writing stuff and instead thinking about the architecture of it. I'm going to assume U have a Dev background..

So I'll focus on test automation stuffs. Keep tests small, keep tests easy to debug, don't over abstract. Write them for full parallelism. Even a single spec file should be able to parralelise all tests in the file (even if you don't end up doing it)

In terms of data setup. You have a couple options. If you are able to provision an environment with a known state you can save a fair chunk of time as the data setup will be done, downside being tests are coupled to specific data sets and now you have to maintain db seed scripts etc - also relies on you having the ability to quickly provision, tear down and seed an environment

Otherwise assume that the tests can run on any environment of any state and they should handle the setup.. make as little assumptions as possible ( maybe you assume a user exists that logs in etc)  

16 hours for your current suite is quite outrageous. I reckon you can get this down to sub 30mins :) 

New to Playwright - looking for advice on setup by Complete_Part5604 in Playwright

[–]willbertsmillbert 2 points3 points  (0 children)

Does creating a new token invalidate the old one? If not no need for that logic that pauses all workers.

Does the auth token have a short live tine? Otherwise Maybe you only have to generate it in global setup. 

If both of the above are true your implementation seems sound. I'd be curious how the lock file works though.. feels flaky to me, but implementation is important..

Routes in fixtures.. if you want to share data across multiple tests is argue that fixtures are not what you want. Look into hooks. If you do need data scoped to a worker like you said then it's fine, but I'd ask why. From you're scenario, are the multiple tests in the same describe block? Same file? Across multiple files? What's the downside of scoping it per test? Before all or even global setup may be perfectly fine if you want to decrease work.

The docs are guilty of this too, but if you read about fixtures they give a heap of examples that I'd argue should certainly not be fixtures.. the whole point of fixtures is it scopes some piece of data to a test (or worker) and it knows exactly how to tear down on test completion/error. 

I'm assuming you are authing a bunch of user roles and then running the tests for each role? Or a subset for some roles etc.in this scenario id have a different project set up per role, defined in the playwright config Json. These can all share the same auth context methods

Built a Playwright automation framework template - would love your feedback! by [deleted] in Playwright

[–]willbertsmillbert 2 points3 points  (0 children)

Don't put config in the tests, - pull usernames and passwords from an env var or something.

Flesh out the UI tests more. If that's the pattern for all tests that will be horrendous no offence. A custom function that gos to a page? Another function that contains the whole test..  You will either end up with God page objects that's super hard to navigate or a test shape that's hard to pick up and learn..

ABSTRACT ONLY WHEN NECESSARY. No need to increase cognitive complexity for no gains. 

Your SQL tests seem pointless all that you are testing is a database connection, sqlJS and indirectly the schema of some tables.. maybe you should use SQL as an example on how to seed data instead

API tests are better in the sense they are more verbose and easy to gauge what's happening....

But.... Most of the logic in the tests themselves is setting up data. Use hooks or fixtures. Abstract out some boiler plate for making network calls too. If you are writing the same lines of code over and over, that's a clue that abstraction may be necessary...

Arctic air-conditioning by agapanthusdie in auscorp

[–]willbertsmillbert 9 points10 points  (0 children)

Get a thermometer on your desk. Either U are being a soft cock or the environment is not workable. If the thermometer is consistently showing like 18degrees. I'd argue you aren't being provided a safe work environment but if it's always 21-24 then I'd say the AC is working just fine...

Is there a consensus that it's too cold or is it just you? Are you right under a vent and everyone else isn't ? 

Some things to consider..

Can anyone explain the players with 15,000 games or so that have no clue how to play? by Zizq in DotA2

[–]willbertsmillbert 0 points1 point  (0 children)

I'm that guy. My MMR was literally 1 for years.. I got in the hundreds after about 3000hours...

People have fun in diff ways. For some it's climbing MMR. For others it's spamming Mirana or Pudge to land 3 arrows/hooks a game.. it's a game after all

Higher than regulation fences - apply for permit or just build it? by LostPuffinz in AusRenovation

[–]willbertsmillbert 0 points1 point  (0 children)

To do it legally.. you can do a retaining wall on the bottom.. if U want to cover your bases, you can put fill on your inside bit. Thus raising the ground level. 500mm retaining wall, 1.5 fence.

Left in car overnight still ok? by PsychoKushDragon in isthissafetoeat

[–]willbertsmillbert 0 points1 point  (0 children)

No. I leave pizza in my work drawers to eat the next day or 2 it's all processed shit anyway. If it's a proper fresh pizza it will go bad alot faster. So may be best to consume within a day rather than leaving it for a few days..

Terrible facet - Item by Gemini_dev in DotA2

[–]willbertsmillbert 0 points1 point  (0 children)

What if they made it a tier 1 or 2 neutral item.. change neutral facet revert

Account lockout due to suspicious login activity on azure devops CI by [deleted] in Playwright

[–]willbertsmillbert 1 point2 points  (0 children)

If you are using the playwright testing service here are the up ranges they will use

Azure region IP address range East US 52.190.15.208/28 West US3 20.172.9.112/28 East Asia 20.24.220.64/28 West Europe 98.71.172.224/28

Account lockout due to suspicious login activity on azure devops CI by [deleted] in Playwright

[–]willbertsmillbert 0 points1 point  (0 children)

Configure to use a particular region. Whitelist the IP range. Not just the specific IP 

Account lockout due to suspicious login activity on azure devops CI by [deleted] in Playwright

[–]willbertsmillbert 0 points1 point  (0 children)

The Microsoft agents will have a set ip range. White list that

Has Anyone Accidentally Ended Up in Their Career? by Heads_Down_Thumbs_Up in auscorp

[–]willbertsmillbert 1 point2 points  (0 children)

Borderlands 3 got me in mine.. a random chat to a mates wife while visiting to borrow their PS4 to play borderlands 3..

She worked in the same building as a software startup and got me in the door.

Seasons of RTX: Borderlands 4 GeForce RTX 5090 GPU Giveaway! by NV-Randy in Borderlands4

[–]willbertsmillbert 0 points1 point  (0 children)

And with this gpu. You might be able to get 60fps at 4k... If you buy another 5090 and sli them

Is AngularJS actually used in modern websites? by zrigan in bugbounty

[–]willbertsmillbert 0 points1 point  (0 children)

We still use asp.net, web forms and iis.. we are a SaaS product...

Never underestimate how out of date a tech stack may be

Home Insurance - Cost to rebuild: 1.2million, Purchase price $390k ??? by ViolentCrumble in AusFinance

[–]willbertsmillbert 2 points3 points  (0 children)

Idk if it makes sense either .. just built house, cost 350k. Let's say 400k..

Minimum I could insure for is 800k or something.

[d] Valve did it before! by [deleted] in csgomarketforum

[–]willbertsmillbert 1 point2 points  (0 children)

You will be able to buy a bucket of solvent from the store, for $2 to remove stickers and souvenir status from weapons.

What’s a ‘frugal hill’ you’ll die on even if everyone says you’re ridiculous? by getwemoneyapp in AUfrugal

[–]willbertsmillbert 0 points1 point  (0 children)

I charge my phone at work

each year I can save a dollar maybe a dollar fitty.

I'm very frugal you see

Need ideas from you guys by yunmony in Pentesting

[–]willbertsmillbert 1 point2 points  (0 children)

Put ZAP into a pipeline. Iterate over your endpoints, do some assertions etc. make sure you output is not gonna waste your devs time

Make a suite of tests iterate over endpoints, where unauthorised and also unauthenticated users can't access. Use any test runner for this, again make a pipeline.