The marriage isn't an issue, as such - it's whether she petitions to adjust her status based on marriage within a time frame that suggests to the USCIS that she misrepresented the purpose of her visit and intended to immigrate when she entered the country. If she marries, leaves, and petitions to reenter on a spouse visa, the fact that she married while present on a tourist visa isn't a problem as it's not inconsistent with the purposes of that visa.
Like... you?
You have that exactly backwards. The USCIS starts with a presumption that the marriage is fraudulent and the burden of proving that a marriage is valid lies with the petitioner.Quoting livinskey
What she should do is abide by the terms of her visa, and not work at all unless authorized to do so under her visa.Quoting livinskey

