Your intuition seems reasonable here, but it is worth stating things more precisely. So long as the p-value for the test is not a function of a sufficient statistic, the sufficiency principle is breached. For the conditionality principle, things are a bit trickier. The conditionality principle was originally described by Birnbaum as follows:
...the evidential meaning of any outcome of any experiment is the same as that of the corresponding outcome of the corresponding component experiment, ignoring the overall structure of the mixture experiment. [This] may be described informally as asserting the "irrelevance of (component) experiments not actually performed." (Birnbaum 1962, p. 271).
Whether or not this principle is breached by a classical hypothesis test (using a p-value as its evidentiary measure) really depends on whether or not the experiment leading to the test can be framed as a mixture of smaller component experiments, which occur conditionally on some initial results. If the experiment can be framed in this way, the p-value will depend on component experiments not performed, through the fact that it will include the probability of outcomes in these experiments that are at least as conducive to the alternative as the actual outcome of the experimental component that was performed. This would be a breach of the conditionality principle, often in addition to breaching the sufficiency condition.