what are you doing right now?
Curly-Molto @forgetmenot
commented on
what are you doing right now?
Curly-Molto @forgetmenot
Continuing to be a degenerate despite the fact that it has been made obvious to literally everyone that @fragrant_rosey is me. Yet I still play the different person act... That so, being the reason I named myself Diavolo/Doppio of course this isn't ahem canonically accurate to the Diavolo/Doppio thing but you can see where the comparison comes from
Criselington @criselington
commented on
what are you doing right now?
Criselington @criselington
Wondering why @forgetmenot stole my ice cream and started talking to it
Curly-Molto @forgetmenot
commented on
what are you doing right now?
Curly-Molto @forgetmenot
Sorry Cris, I had to call the boss. You know how it is. Next cone is on me, I told him not to call an Ice cream next time. It took forever to get that stuff out of my hair when I got home!
Arc @arc
commented on
what are you doing right now?
Arc @arc
brain is hurting defining selenium methods. Here is an example of what I'm working on using web automation. Basically I add a promo and then validate that it is discounted correctly:
def ApplyPromo():
assert totalAmount != 0
driver.find_element(By.CSS_SELECTOR, ".promoCode").send_keys("Big20")
driver.find_element(By.CSS_SELECTOR, ".promoBtn").click()
# promo code may take up to 10 seconds, so you need to apply an explicit wait here to extend the time in this case
wait = WebDriverWait(driver, 10)
wait.until(expected_conditions.presence_of_element_located((By.CSS_SELECTOR, ".promoInfo")))
promoText = driver.find_element(By.CLASS_NAME, "promoInfo").text
print(promoText)
assert promoText == "Code applied ..!"
discountPercentage = int((driver.find_element(By.CSS_SELECTOR, ".discountPerc").text).strip('%'))
discountedTotal = (totalAmount - (totalAmount / discountPercentage))
currency = locale.currency((discountedTotal / 100), grouping=True)
assert discountedTotal == float(driver.find_element(By.CSS_SELECTOR, ".discountAmt").text)
print("Total after discount = " + str(currency))
ChiariChibi @chiarichibi
commented on
what are you doing right now?
ChiariChibi @chiarichibi
Duolingo.
Criselington @criselington
commented on
what are you doing right now?
Criselington @criselington
Hell yeah, keep it @chiarichibi the more languages you know the easier world domination is
Curly-Molto @forgetmenot
commented on
what are you doing right now?
Curly-Molto @forgetmenot
As long as I get to be her world domination partner, that is.. wouldn't wanna have a Jonathan and Dio rivalry going on
Arc @arc
commented on
what are you doing right now?
Arc @arc
If I am going to be perfectly honest I am up to no good
Curly-Molto @forgetmenot
commented on
what are you doing right now?
Curly-Molto @forgetmenot
@arc Truly the best thing to be up to huh? LOL
Curly-Molto @forgetmenot
commented on
what are you doing right now?
Curly-Molto @forgetmenot
Making my follower pick up Meridia's beacon coz I don't wanna hear that NEW HAND TOUCHES THE BEACON shit
Please login to post.